msm: camera: sensor: Reset actuator flush requestId

When camera module shut down happens reset the
last flush request ID for the new session to
continue as fresh start.

CRs-Fixed: 2822543
Change-Id: Ic5b43d7acaeb7e7b6999c02cbb4654598469638b
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
Este commit está contenido en:
Sureshnaidu Laveti
2020-11-17 15:01:50 -08:00
padre 1d4846d08d
commit 6bbdcb3f6d

Ver fichero

@@ -801,6 +801,7 @@ void cam_actuator_shutdown(struct cam_actuator_ctrl_t *a_ctrl)
power_info->power_down_setting = NULL;
power_info->power_setting_size = 0;
power_info->power_down_setting_size = 0;
a_ctrl->last_flush_req = 0;
a_ctrl->cam_act_state = CAM_ACTUATOR_INIT;
}