[COMMON] fimc-is2: paf on at MSPD tail mode
authorWooyeon Kim <wooy88.kim@samsung.com>
Fri, 21 Dec 2018 11:20:48 +0000 (20:20 +0900)
committerKim Gunho <gunho.kim@samsung.com>
Wed, 7 Aug 2019 13:00:31 +0000 (22:00 +0900)
PR JIRA ID: CPR-924

Change-Id: I01866b5ce51eb71022ffca4d19ebbd65ec7b5b62
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-device-sensor_v2.c

index 06a0377ed677440869e94cb2bb93047f925dc433..5903d9b40fa83599ef7eb7308c9a5658e20f4d5f 100644 (file)
@@ -3765,6 +3765,8 @@ static int fimc_is_sensor_shot(struct fimc_is_device_ischain *ischain,
                goto p_err;
        }
 
+       if (sensor->cfg->pd_mode == PD_MSPD_TAIL)
+               frame->shot->uctl.isModeUd.paf_mode = CAMERA_PAF_ON;
 #ifdef ENABLE_INIT_AWB
        if ((frame->shot->ctl.aa.awbMode == AA_AWBMODE_WB_AUTO)
                && (frame->fcount <= sensor->init_wb_cnt)