Messages in this thread |  | | | Date | Tue, 29 Mar 2011 10:55:54 +0200 | | Subject | Re: [PATCH 4/4] s3c2440: mini2440: Enable the backlight LED earlier at boot time. | | From | Belisko Marek <> |
| |
On Tue, Mar 29, 2011 at 10:50 AM, Vasily Khoruzhick <anarsoul@gmail.com> 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@open-nandra.com> >> Signed-off-by: Michel Pollet <buserror@gmail.com> >> --- >> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |