mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
msm: camera: utils: Fix bus client register for icc
The common data containing src and dst bus IDs necessary for bw voting is fed incorrectly. Fix passing of bus IDs for registering bus clients to be valid values. CRs-Fixed: 2584631 Change-Id: Ifee3a5ac345cf8df5cb775f5af633d8e146842d9 Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
This commit is contained in:
parent
4a019e7828
commit
17bedd020e
1 changed files with 1 additions and 2 deletions
|
|
@ -97,6 +97,7 @@ int cam_soc_bus_client_register(struct platform_device *pdev,
|
|||
}
|
||||
|
||||
bus_client->client_data = bus_client_data;
|
||||
bus_client->common_data = common_data;
|
||||
bus_client_data->icc_data = icc_get(&pdev->dev,
|
||||
bus_client->common_data->src_id,
|
||||
bus_client->common_data->dst_id);
|
||||
|
|
@ -106,8 +107,6 @@ int cam_soc_bus_client_register(struct platform_device *pdev,
|
|||
goto error;
|
||||
}
|
||||
|
||||
bus_client->common_data = common_data;
|
||||
|
||||
rc = icc_set_bw(bus_client_data->icc_data, 0, 0);
|
||||
if (rc) {
|
||||
CAM_ERR(CAM_UTIL, "Bus client update request failed, rc = %d",
|
||||
|
|
|
|||
Loading…
Reference in a new issue