[9610] fimc-is2: modify sysreg Defenderault value that declared on dt
authorDohyun Kim <dh5.kim@samsung.com>
Mon, 18 Feb 2019 05:57:40 +0000 (14:57 +0900)
committerlingsen1 <lingsen1@lenovo.com>
Mon, 10 Jun 2019 03:21:08 +0000 (11:21 +0800)
PR JIRA ID: CPR-708

Change-Id: Ie766b9a220fabf2896a11571cf3eda4adacd0b34
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c

index 65551c0581333158950b308aecd716b42015f935..23d03108453a4e09d485583d35aa0703b33e055a 100644 (file)
@@ -364,6 +364,8 @@ int fimc_is_hw_camif_cfg(void *sensor_data)
 
        /* default PIP set by DT */
        multi_ch = pdata->multi_ch;
+       if (pdata->camif_mux_val)
+               mux_set_val = pdata->camif_mux_val;
 
        for (i = 0; i < FIMC_IS_SENSOR_COUNT; i++) {
                if (test_bit(FIMC_IS_SENSOR_OPEN, &(core->sensor[i].state))