mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: camera: Fix for bandwidth update
Bandwidth should be calculated using all clients state, instead of the state of the caller. Change-Id: I28f78c9753dd58c821aa25afd28eb4ed83081e81 Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
This commit is contained in:
parent
e66d01dc6d
commit
6b4e25c7f6
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ int msm_isp_update_bandwidth(enum msm_isp_hw_client client,
|
|||
path->vectors[0].ab = MSM_ISP_MIN_AB;
|
||||
path->vectors[0].ib = MSM_ISP_MIN_IB;
|
||||
for (i = 0; i < MAX_ISP_CLIENT; i++) {
|
||||
if (isp_bandwidth_mgr.client_info[client].active) {
|
||||
if (isp_bandwidth_mgr.client_info[i].active) {
|
||||
path->vectors[0].ab +=
|
||||
isp_bandwidth_mgr.client_info[i].ab;
|
||||
path->vectors[0].ib +=
|
||||
|
|
Loading…
Reference in a new issue