mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "msm: camera: cpas: Update camnoc axi port vote during cpas start/stop" into camera-kernel.lnx.4.0
This commit is contained in:
commit
2601946ec0
1 changed files with 14 additions and 0 deletions
|
|
@ -708,6 +708,20 @@ static int cam_cpas_util_apply_client_axi_vote(
|
|||
}
|
||||
mnoc_axi_port_updated[i] = true;
|
||||
}
|
||||
|
||||
for (i = 0; i < cpas_core->num_camnoc_axi_ports; i++) {
|
||||
if (axi_vote->axi_path[0].camnoc_bw) {
|
||||
/* start case */
|
||||
cpas_core->camnoc_axi_port[i].additional_bw +=
|
||||
CAM_CPAS_DEFAULT_AXI_BW;
|
||||
} else {
|
||||
/* stop case */
|
||||
cpas_core->camnoc_axi_port[i].additional_bw -=
|
||||
CAM_CPAS_DEFAULT_AXI_BW;
|
||||
}
|
||||
camnoc_axi_port_updated[i] = true;
|
||||
}
|
||||
|
||||
goto vote_start_clients;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue