msm:camera: Add support for LED flash as i2c node
Add LED flash driver for adp1660 as i2c node.
Create v4l2 node and add control logic for i2c
LED Flash driver.
Change-Id: Iccdd341c280e58dfa5b374d06b16c2d9d344f748
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8610-gpiomux.c b/arch/arm/mach-msm/board-8610-gpiomux.c
index 01f1468..bfd8e38 100644
--- a/arch/arm/mach-msm/board-8610-gpiomux.c
+++ b/arch/arm/mach-msm/board-8610-gpiomux.c
@@ -422,14 +422,14 @@
{
.gpio = 18, /* FLASH_LED_EN */
.settings = {
- [GPIOMUX_ACTIVE] = &cam_settings[0],
+ [GPIOMUX_ACTIVE] = &cam_settings[3],
[GPIOMUX_SUSPENDED] = &gpio_suspend_config[1],
},
},
{
.gpio = 19, /* FLASH_LED_NOW */
.settings = {
- [GPIOMUX_ACTIVE] = &cam_settings[0],
+ [GPIOMUX_ACTIVE] = &cam_settings[3],
[GPIOMUX_SUSPENDED] = &gpio_suspend_config[1],
},
},