mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
msm: camera: reqmgr: Reset the trigger cnt when trigger cnt mismatch
In sHDR case, the trigger cnt may be different when one of the IFE meet bubble or irq delay issue, then reset the trigger cnt when we find the trigger cnt is different. CRs-Fixed: 2857614 Change-Id: Ie02fd7204bebd16d32d7a277ac1f2e45f8357dd9 Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This commit is contained in:
parent
1cfb76902b
commit
ee418bbd88
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