[COMMON] fimc-is2: adjust pre flash current for s2mu106 flash
authorwangdw10 <wangdw10@lenovo.com>
Tue, 8 Jan 2019 12:44:44 +0000 (20:44 +0800)
committerKim Gunho <gunho.kim@samsung.com>
Wed, 7 Aug 2019 13:00:24 +0000 (22:00 +0900)
 - use total 150mA for pre flash mode

Change-Id: I48017d89f8566753df76b597049937511e34e8e5
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/flash/fimc-is-flash-s2mu106.c

index 9216bfefd0e82145e556390a376fa3020a594e08..3e7743b6658bdf93de8430081e266c8ad054bb00 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/leds-s2mu106.h>
 
 #define CAPTURE_MAX_TOTAL_CURRENT      (1500)
-#define TORCH_MAX_TOTAL_CURRENT                (250)
+#define TORCH_MAX_TOTAL_CURRENT                (150)
 #define MAX_FLASH_INTENSITY            (256)
 
 static int flash_s2mu106_init(struct v4l2_subdev *subdev, u32 val)