Re: [PATCH v3] backlight: pwm_bl: switch to using "atomic" PWM API

2018-10-08 Thread Lee Jones
On Fri, 28 Sep 2018, Heiko Stuebner wrote: > Hi Lee, > > Am Montag, 10. September 2018, 16:49:24 CEST schrieb Lee Jones: > > On Tue, 14 Aug 2018, Enric Balletbo i Serra wrote: > > > > > The "atomic" API allows us to configure PWM period and duty_cycle and > > > enable it in one call. > > > > >

Re: [PATCH v3] backlight: pwm_bl: switch to using "atomic" PWM API

2018-09-28 Thread Heiko Stuebner
Hi Lee, Am Montag, 10. September 2018, 16:49:24 CEST schrieb Lee Jones: > On Tue, 14 Aug 2018, Enric Balletbo i Serra wrote: > > > The "atomic" API allows us to configure PWM period and duty_cycle and > > enable it in one call. > > > > The patch also moves the pwm_init_state just before any use

Re: [PATCH v3] backlight: pwm_bl: switch to using "atomic" PWM API

2018-09-10 Thread Lee Jones
On Tue, 14 Aug 2018, Enric Balletbo i Serra wrote: > The "atomic" API allows us to configure PWM period and duty_cycle and > enable it in one call. > > The patch also moves the pwm_init_state just before any use of the > pwm_state struct, this fixes a potential bug where pwm_get_state > can be ca

Re: [PATCH v3] backlight: pwm_bl: switch to using "atomic" PWM API

2018-08-21 Thread Heiko Stuebner
Am Dienstag, 14. August 2018, 18:50:59 CEST schrieb Enric Balletbo i Serra: > The "atomic" API allows us to configure PWM period and duty_cycle and > enable it in one call. > > The patch also moves the pwm_init_state just before any use of the > pwm_state struct, this fixes a potential bug where p

Re: [PATCH v3] backlight: pwm_bl: switch to using "atomic" PWM API

2018-08-15 Thread Daniel Thompson
On Tue, Aug 14, 2018 at 06:50:59PM +0200, Enric Balletbo i Serra wrote: > The "atomic" API allows us to configure PWM period and duty_cycle and > enable it in one call. > > The patch also moves the pwm_init_state just before any use of the > pwm_state struct, this fixes a potential bug where pwm_g

[PATCH v3] backlight: pwm_bl: switch to using "atomic" PWM API

2018-08-15 Thread Enric Balletbo i Serra
The "atomic" API allows us to configure PWM period and duty_cycle and enable it in one call. The patch also moves the pwm_init_state just before any use of the pwm_state struct, this fixes a potential bug where pwm_get_state can be called before pwm_init_state. Signed-off-by: Enric Balletbo i Ser