PR JIRA ID: CPR-908
CRs-fixed: (CR)
Change-Id: I581f5febf2b5f6d49672b1d10b464c253f6e2d08
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1333573
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Biming Li <libm1@motorola.com>
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
ret = CALL_CISOPS(cis, cis_stream_off, subdev_cis);
if (ret == 0)
ret = CALL_CISOPS(cis, cis_wait_streamoff, subdev_cis);
+
+ if (cis->long_term_mode.sen_strm_off_on_enable) {
+ cis->long_term_mode.sen_strm_off_on_enable = 0;
+ ret = CALL_CISOPS(cis, cis_set_long_term_exposure, subdev_cis);
+ info("[%s] cancelled long_exp_capture mode\n", __func__);
+ }
mutex_unlock(&cis->control_lock);
#ifdef USE_OIS_SLEEP_MODE
/* as this function called, always set true for operate */
sensor_peri->cis.long_term_mode.sen_strm_off_on_enable = true;
sensor_peri->cis.long_term_mode.frm_num_strm_off_on_interval = long_term_expo_mode->frm_num_strm_off_on_interval;
+ sensor_peri->cis.long_term_mode.sen_strm_off_on_step = 0;
if (sensor_peri->cis.long_term_mode.sen_strm_off_on_enable) {
for (i = 0; i < 2; i++) {