Re: [U-Boot] [PATCH 6/7] status_led: Add support for inverted LEDs

2013-09-29 Thread Benoît Thébaudeau
Hi Otavio, On Saturday, September 28, 2013 9:08:48 PM, Otavio Salvador wrote: > On Sat, Sep 28, 2013 at 1:49 PM, Fabio Estevam wrote: > > On Sat, Sep 28, 2013 at 11:17 AM, Benoît Thébaudeau > > wrote: > >> Dear Otavio Salvador, > >> > >> On Saturday, September 28, 2013 5:24:17 AM, Otavio Salvado

Re: [U-Boot] [PATCH 6/7] status_led: Add support for inverted LEDs

2013-09-28 Thread Otavio Salvador
On Sat, Sep 28, 2013 at 1:49 PM, Fabio Estevam wrote: > On Sat, Sep 28, 2013 at 11:17 AM, Benoît Thébaudeau > wrote: >> Dear Otavio Salvador, >> >> On Saturday, September 28, 2013 5:24:17 AM, Otavio Salvador wrote: >>> There're cases we want to use active-low LEDs and the 'inverted' logic >>> nee

Re: [U-Boot] [PATCH 6/7] status_led: Add support for inverted LEDs

2013-09-28 Thread Fabio Estevam
On Sat, Sep 28, 2013 at 11:17 AM, Benoît Thébaudeau wrote: > Dear Otavio Salvador, > > On Saturday, September 28, 2013 5:24:17 AM, Otavio Salvador wrote: >> There're cases we want to use active-low LEDs and the 'inverted' logic >> needs to be added. This includes it using the STATUS_LED_INVERT mac

Re: [U-Boot] [PATCH 6/7] status_led: Add support for inverted LEDs

2013-09-28 Thread Benoît Thébaudeau
Dear Otavio Salvador, On Saturday, September 28, 2013 5:24:17 AM, Otavio Salvador wrote: > There're cases we want to use active-low LEDs and the 'inverted' logic > needs to be added. This includes it using the STATUS_LED_INVERT macro. There is already a STATUS_LED_ACTIVE definition (though not on

[U-Boot] [PATCH 6/7] status_led: Add support for inverted LEDs

2013-09-27 Thread Otavio Salvador
There're cases we want to use active-low LEDs and the 'inverted' logic needs to be added. This includes it using the STATUS_LED_INVERT macro. Signed-off-by: Otavio Salvador --- doc/README.LED| 2 ++ drivers/misc/status_led.c | 21 ++--- include/status_led.h | 14