Thread (12 messages) flat view 12 messages, 4 authors, 2011-03-29

[PATCH 4/4] s3c2440: mini2440: Enable the backlight LED earlier at boot time.

From: Belisko Marek <hidden>
Date: 2011-03-29 08:55:58
Also in: lkml

On Tue, Mar 29, 2011 at 10:50 AM, Vasily Khoruzhick [off-list ref] wrote:
On Tuesday 29 March 2011 09:32:43 Marek Belisko wrote:
quoted
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
quoted
Signed-off-by: Marek Belisko <redacted>
Signed-off-by: Michel Pollet <redacted>
---
?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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help