pxa: set default WLED output current in saar
Subsystems (3)
PATCH 1/1 pxa: set default WLED output current in saar
Set default WLED output current in saar. Otherwise, LCD backlight won't be effective.
Signed-off-by Haojian Zhuang <[email protected]>
--- arch/arm/mach-pxa/saar.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-pxa/saar.c +5 -0
@@ -451,10 +451,15 @@ static inline void saar_init_lcd(void) {}#endif #if defined(CONFIG_I2C_PXA ) || defined(CONFIG_I2C_PXA_MODULE ) +static struct da9034_backlight_pdata saar_da9034_backlight = { + .out_current =DA9034_WLED_CURRENT (4 ), +}; +static struct da903x_subdev_info saar_da9034_subdevs[] = { [0 ] = { .name ="da903x-backlight" , .id =DA9034_ID_WLED , + .platform_data = &saar_da9034_backlight, }, };
Signature · 1 line
1.5.6.5