Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c465936e authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: reqmgr: Reset the trigger cnt when trigger cnt mismatch"...

Merge "msm: camera: reqmgr: Reset the trigger cnt when trigger cnt mismatch" into camera-kernel.lnx.4.0
parents 9d45ad84 ee418bbd
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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;
	}