mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
camera: ois: disable ois vsync irq in factory build
[detail] disable ois vsync irq in factory build Change-Id: I047fe7425f5153dd4034d573643cb2b37813bcdf Signed-off-by: liuwang2 <liuwang2@lenovo.com> Reviewed-on: https://gerrit.mot.com/2179329 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: <zhaoxy41@motorola.com> Reviewed-by: XiaoFeng Wang <wangxf32@lenovo.com> Reviewed-by: Long Cheng <chengl1@motorola.com> Reviewed-by: Zhichao Chen <chenzc2@motorola.com> Submit-Approved: gaoyx9 <gaoyx9@motorola.com>
This commit is contained in:
parent
a73de5791a
commit
de858431fa
1 changed files with 5 additions and 0 deletions
|
|
@ -40,6 +40,11 @@ static int cam_ois_get_dt_data(struct cam_ois_ctrl_t *o_ctrl)
|
|||
} else {
|
||||
o_ctrl->is_ois_vsync_irq_supported = true;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CAMERA_DISABLE_VSYNC_IRQ
|
||||
o_ctrl->is_ois_vsync_irq_supported = false;
|
||||
CAM_WARN(CAM_OIS, "disable ois vsync irq in factory build");
|
||||
#endif
|
||||
CAM_DBG(CAM_OIS, "is_ois_vsync_irq_supported %d", o_ctrl->is_ois_vsync_irq_supported);
|
||||
|
||||
rc = cam_soc_util_get_dt_properties(soc_info);
|
||||
|
|
|
|||
Loading…
Reference in a new issue