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

Commit 5ef9d03a authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: isp: Wait for cdm submit incase of custom HW



If IFE is connected to custom HW in the pipeline, make the cdm
submit a blocking call to ensure settings are programmed to IFE
on time.

CRs-Fixed: 2805278
Change-Id: Ia0d771a0f875a3b41c67eef496a96461c579dac0
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent ce4e3d72
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -3960,7 +3960,8 @@ static int cam_ife_mgr_config_hw(void *hw_mgr_priv,
			return rc;
			return rc;
		}
		}


		if (cfg->init_packet) {
		if (cfg->init_packet ||
			(ctx->custom_config & CAM_IFE_CUSTOM_CFG_SW_SYNC_ON)) {
			rem_jiffies = wait_for_completion_timeout(
			rem_jiffies = wait_for_completion_timeout(
				&ctx->config_done_complete,
				&ctx->config_done_complete,
				msecs_to_jiffies(60));
				msecs_to_jiffies(60));