mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "msm: camera: cpas: Write qosgen registers when enabled" into camera-kernel.lnx.4.0
This commit is contained in:
commit
3c4241c06a
1 changed files with 8 additions and 0 deletions
|
|
@ -683,6 +683,8 @@ static int cam_cpastop_poweron(struct cam_hw_info *cpas_hw)
|
|||
cam_cpastop_reset_irq(cpas_hw);
|
||||
for (i = 0; i < camnoc_info->specific_size; i++) {
|
||||
if (camnoc_info->specific[i].enable) {
|
||||
CAM_DBG(CAM_CPAS, "Updating QoS settings for %d",
|
||||
camnoc_info->specific[i].port_type);
|
||||
cam_cpas_util_reg_update(cpas_hw, CAM_CPAS_REG_CAMNOC,
|
||||
&camnoc_info->specific[i].priority_lut_low);
|
||||
cam_cpas_util_reg_update(cpas_hw, CAM_CPAS_REG_CAMNOC,
|
||||
|
|
@ -697,6 +699,12 @@ static int cam_cpastop_poweron(struct cam_hw_info *cpas_hw)
|
|||
&camnoc_info->specific[i].ubwc_ctl);
|
||||
cam_cpas_util_reg_update(cpas_hw, CAM_CPAS_REG_CAMNOC,
|
||||
&camnoc_info->specific[i].flag_out_set0_low);
|
||||
cam_cpas_util_reg_update(cpas_hw, CAM_CPAS_REG_CAMNOC,
|
||||
&camnoc_info->specific[i].qosgen_mainctl);
|
||||
cam_cpas_util_reg_update(cpas_hw, CAM_CPAS_REG_CAMNOC,
|
||||
&camnoc_info->specific[i].qosgen_shaping_low);
|
||||
cam_cpas_util_reg_update(cpas_hw, CAM_CPAS_REG_CAMNOC,
|
||||
&camnoc_info->specific[i].qosgen_shaping_high);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue