Re: [PATCH] leds: pwm: set polarity on non DT platforms

2014-04-07 Thread Thierry Reding
On Wed, Mar 19, 2014 at 12:09:46AM +0100, Alexandre Belloni wrote: > On 18/03/2014 at 16:02:51 -0700, Bryan Wu wrote : > > On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni > > wrote: > > > Set inversed polarity when .active_low is set in the platform_data. With > > > device > > > tree, this is

Re: [PATCH] leds: pwm: set polarity on non DT platforms

2014-03-18 Thread Alexandre Belloni
On 18/03/2014 at 16:02:51 -0700, Bryan Wu wrote : > On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni > wrote: > > Set inversed polarity when .active_low is set in the platform_data. With > > device > > tree, this is taken care of by of_pwm_xlate_with_flags(), called from > > of_pwm_get(). > >

Re: [PATCH] leds: pwm: set polarity on non DT platforms

2014-03-18 Thread Bryan Wu
On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni wrote: > Set inversed polarity when .active_low is set in the platform_data. With > device > tree, this is taken care of by of_pwm_xlate_with_flags(), called from > of_pwm_get(). > > Signed-off-by: Alexandre Belloni > --- > drivers/leds/leds-p

[PATCH] leds: pwm: set polarity on non DT platforms

2014-03-17 Thread Alexandre Belloni
Set inversed polarity when .active_low is set in the platform_data. With device tree, this is taken care of by of_pwm_xlate_with_flags(), called from of_pwm_get(). Signed-off-by: Alexandre Belloni --- drivers/leds/leds-pwm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/leds/l