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: Shubhraprakash Das <sadas@codeaurora.org>
This commit is contained in:
parent
0e233eddfb
commit
2c1d34b8a3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue