Re: [PATCH 08/16] backlight: pwm_bl: set pwm polarity when using platform data

2014-04-07 Thread Thierry Reding
On Wed, Mar 19, 2014 at 02:03:21PM +0100, Alexandre Belloni wrote: > Set inversed polarity when .pwm_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 > --- >

Re: [PATCH 08/16] backlight: pwm_bl: set pwm polarity when using platform data

2014-04-07 Thread Thierry Reding
On Wed, Mar 19, 2014 at 02:03:21PM +0100, Alexandre Belloni wrote: Set inversed polarity when .pwm_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

[PATCH 08/16] backlight: pwm_bl: set pwm polarity when using platform data

2014-03-19 Thread Alexandre Belloni
Set inversed polarity when .pwm_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/video/backlight/pwm_bl.c | 8 include/linux/pwm_backlight.h| 1 + 2

[PATCH 08/16] backlight: pwm_bl: set pwm polarity when using platform data

2014-03-19 Thread Alexandre Belloni
Set inversed polarity when .pwm_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 alexandre.bell...@free-electrons.com --- drivers/video/backlight/pwm_bl.c | 8