From 4cb280e0d79c7d1e0b4b5a164607bfc2c89839a2 Mon Sep 17 00:00:00 2001 From: Jeongtae Park Date: Sat, 3 Jun 2017 14:20:34 +0900 Subject: [PATCH] [COMMON] media: fimc-is2: don't control a regulator for univ7885(code sync) PR JIRA ID : CPR-38 Change-Id: I527c684b3532aa75a5fb102e25027339da7bdaa2 Signed-off-by: Jeongtae Park --- .../sensor/module_framework/modules/fimc-is-device-module-2p6.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-2p6.c b/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-2p6.c index 95fdd11cf0ad..a1c49c43e335 100644 --- a/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-2p6.c +++ b/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/modules/fimc-is-device-module-2p6.c @@ -316,7 +316,9 @@ static int sensor_module_2p6_power_setpin_with_af(struct device *dev, if (gpio_is_valid(gpio_cam_avdd_en)) { SET_PIN(pdata, SENSOR_SCENARIO_NORMAL, GPIO_SCENARIO_OFF, gpio_cam_avdd_en, "pdaf gpio_cam_avdd_en", PIN_OUTPUT, 0, 100); } else { +#if !defined (CONFIG_SOC_EXYNOS7885) SET_PIN(pdata, SENSOR_SCENARIO_NORMAL, GPIO_SCENARIO_OFF, gpio_none, "VDDA_2.8V_CAM", PIN_REGULATOR, 0, 100); +#endif } /* READ_ROM - POWER ON */ -- 2.20.1