mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "msm: camera: reqmgr: Reset the trigger cnt when trigger cnt mismatch" into camera-kernel.lnx.4.0
This commit is contained in:
commit
c465936e72
1 changed files with 5 additions and 1 deletions
|
|
@ -3153,8 +3153,12 @@ static int __cam_req_mgr_check_for_dual_trigger(
|
|||
(link->trigger_cnt[1] &&
|
||||
(link->trigger_cnt[1] - link->trigger_cnt[0] > 1))) {
|
||||
|
||||
CAM_ERR(CAM_CRM,
|
||||
CAM_WARN(CAM_CRM,
|
||||
"One of the devices could not generate trigger");
|
||||
|
||||
link->trigger_cnt[0] = 0;
|
||||
link->trigger_cnt[1] = 0;
|
||||
CAM_DBG(CAM_CRM, "Reset the trigger cnt");
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue