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

Commit 2c1d34b8 authored by Shubhraprakash Das's avatar Shubhraprakash Das
Browse files

msm: camera: isp: Set the sync mode to async



Set the dual camera sync mode to async if all the dual
camera interfaces has shut down. This prevents the
camera from being in sync mode on next start if
sync mode is not requested.

Change-Id: I0b1aae4d77b3c1e73f57214825c2f5fb542833fe
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent 0e233edd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2289,6 +2289,8 @@ static void msm_isp_input_disable(struct vfe_device *vfe_dev, int cmd_type)
			ms_res->src_info[src_info->dual_hw_ms_info.index] =
				NULL;
			ms_res->num_src--;
			if (ms_res->num_src == 0)
				ms_res->dual_sync_mode = MSM_ISP_DUAL_CAM_ASYNC;
			src_info->dual_hw_ms_info.sync_state =
						MSM_ISP_DUAL_CAM_ASYNC;
			src_info->dual_hw_type = DUAL_NONE;