[PATCH 01/02] pxa: set default WLED output current in saar
Haojian Zhuang
haojian.zhuang at gmail.com
Thu Nov 5 02:58:45 EST 2009
On Thu, Nov 5, 2009 at 2:58 AM, Haojian Zhuang <haojian.zhuang at gmail.com> wrote:
> From 4fdab1032a74fcfcd48b134d0d91af5f1868332b Mon Sep 17 00:00:00 2001
> From: Haojian Zhuang <haojian.zhuang at marvell.com>
> Date: Thu, 5 Nov 2009 10:31:01 -0500
> Subject: [PATCH] [ARM] 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 <haojian.zhuang at marvell.com>
> ---
> arch/arm/mach-pxa/saar.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/saar.c b/arch/arm/mach-pxa/saar.c
> index 8241a63..a16590a 100644
> --- a/arch/arm/mach-pxa/saar.c
> +++ b/arch/arm/mach-pxa/saar.c
> @@ -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,
> },
> };
>
> --
> 1.5.6.5
>
It should be the second patch in this series.
More information about the linux-arm-kernel
mailing list