[COMMON] fimc-is2: fix wrong GM1SP 60fps VC setting
authorWooyeon Kim <wooy88.kim@samsung.com>
Thu, 11 Apr 2019 11:14:20 +0000 (20:14 +0900)
committerlingsen1 <lingsen1@lenovo.com>
Mon, 10 Jun 2019 03:25:01 +0000 (11:25 +0800)
 - It can cause mismatch of PAFSTAT setting
   not initilized for pafstat tasklet

 PR JIRA ID: CPR-944

CRs-fixed: (CR)

Change-Id: I2dd6a00e1aafa1b5959925e99aeeed5b976e5cc5
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1335986
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-gm1sp.c

index ebab255ecf69c1ae13131a5740161e478be93d39..cd1eb8079762938dc1173cb41ada387389ab76e3 100644 (file)
@@ -47,9 +47,9 @@ static struct fimc_is_sensor_cfg config_module_gm1sp[] = {
                VC_IN(0, HW_FORMAT_USER, 4000, 4), VC_OUT(HW_FORMAT_USER, VC_EMBEDDED, 4000, 4)),
        FIMC_IS_SENSOR_CFG(2000, 1124, 60, 0, 1, CSI_DATA_LANES_4, 1152, CSI_MODE_VC_DT, PD_NONE,
                VC_IN(0, HW_FORMAT_RAW10, 2000, 1124), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 2000, 1124),
-               VC_IN(1, HW_FORMAT_RAW10, 248, 280), VC_OUT(HW_FORMAT_USER, VC_PRIVATE, 4032, 1),
-               VC_IN(2, HW_FORMAT_USER, 0, 0), VC_OUT(HW_FORMAT_USER, VC_MIPISTAT, 127680, 1),
-               VC_IN(0, HW_FORMAT_USER, 2000, 4), VC_OUT(HW_FORMAT_USER, VC_EMBEDDED, 2000, 4)),
+               VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0),
+               VC_IN(0, HW_FORMAT_USER, 0, 0), VC_OUT(HW_FORMAT_USER, VC_NOTHING, 0, 0),
+               VC_IN(0, HW_FORMAT_EMBEDDED_8BIT, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0)),
        FIMC_IS_SENSOR_CFG(2000, 1124, 120, 0, 2, CSI_DATA_LANES_4, 1196, CSI_MODE_VC_DT, PD_NONE,
                VC_IN(0, HW_FORMAT_RAW10, 2000, 1124), VC_OUT(HW_FORMAT_RAW10, VC_NOTHING, 2000, 1124),
                VC_IN(1, HW_FORMAT_UNKNOWN, 0, 0), VC_OUT(HW_FORMAT_UNKNOWN, VC_NOTHING, 0, 0),