mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "msm: camera: ope: remove the check for dev_type" into camera-kernel.lnx.4.0
This commit is contained in:
commit
c0064beebc
1 changed files with 1 additions and 2 deletions
|
|
@ -1084,8 +1084,7 @@ static int cam_ope_calc_total_clk(struct cam_ope_hw_mgr *hw_mgr,
|
|||
hw_mgr_clk_info->base_clk = 0;
|
||||
for (i = 0; i < OPE_CTX_MAX; i++) {
|
||||
ctx_data = &hw_mgr->ctx[i];
|
||||
if (ctx_data->ctx_state == OPE_CTX_STATE_ACQUIRED &&
|
||||
ctx_data->ope_acquire.dev_type == dev_type)
|
||||
if (ctx_data->ctx_state == OPE_CTX_STATE_ACQUIRED)
|
||||
hw_mgr_clk_info->base_clk +=
|
||||
ctx_data->clk_info.base_clk;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue