Re: [PATCH 4/4] s3c2440: mini2440: Enable the backlight LED earlierat boot time.

From: Belisko Marek
Date: Tue Mar 29 2011 - 04:56:01 EST


On Tue, Mar 29, 2011 at 10:50 AM, Vasily Khoruzhick <anarsoul@xxxxxxxxx> wrote:
> On Tuesday 29 March 2011 09:32:43 Marek Belisko wrote:
>> Code overtaken from:
>> http://repo.or.cz/w/linux-2.6/mini2440.git
>>
>> Use flag that allows s3c24xx LED to start in the "on" state.
>> This is necesary to enable LCD backlight during early boot stage.
>
> Why are you still using leds-s3c24xx driver? mini2440 should work OK with
> leds-gpio. Anyway, looks like patch should be splitted into 2 patches: first
> adds flag to leds-s3c24xx driver, second enables this flag for mini2440.
Right with leds-gpio I can use .default_state = LEDS_GPIO_DEFSTATE_ON,
which is same like implemented in this patch. Will change and resend.
Thanks for hint.
>
> Regards
> Vasily
>
>> Signed-off-by: Marek Belisko <marek.belisko@xxxxxxxxxxxxxxx>
>> Signed-off-by: Michel Pollet <buserror@xxxxxxxxx>
>> ---
>> Âarch/arm/mach-s3c2410/include/mach/leds-gpio.h | Â Â1 +
>> Âarch/arm/mach-s3c2440/mach-mini2440.c     Â|  Â1 +
>> Âdrivers/leds/leds-s3c24xx.c          Â|  Â6 +++++-
>> Â3 files changed, 7 insertions(+), 1 deletions(-)
>

regards,

marek

--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/