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

Commit 84b63b60 authored by Tejas Prajapati's avatar Tejas Prajapati
Browse files

msm: camera: reqmgr: update timer even after skip frame



If Nth request has additional exposure timeout, after
applying sensor settings for Nth request; CRM watchdog
timer should be updated with the Nth requests additional
timeout on next frame irrespective of skip frame to
avoid sof freeze.

CRs-Fixed: 3075875
Change-Id: Icc568fc0e169fed9c6a588ab2c2cbff7ec6c0d8a
Signed-off-by: default avatarTejas Prajapati <tpraja@codeaurora.org>
parent c9c62bcd
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1491,6 +1491,12 @@ static int __cam_req_mgr_process_req(struct cam_req_mgr_core_link *link,
				rc = -EPERM;
			}
			spin_unlock_bh(&link->link_state_spin_lock);
			/*
			 * Update wd timer so in next frame if the request
			 * packet is available request can be applied, SOF
			 * freeze will hit otherwise.
			 */
			__cam_req_mgr_validate_crm_wd_timer(link);
			goto error;
		}
	}