Re: [PATCH v2] backlight: pwm_bl: Fix uninitialized variable

2018-07-24 Thread Daniel Thompson
On Mon, Jul 23, 2018 at 08:23:43AM +0100, Lee Jones wrote: > On Thu, 19 Jul 2018, Daniel Thompson wrote: > > > Currently, if the DT does not define num-interpolated-steps then > > num_steps is undefined and the interpolation code will deploy randomly. > > Fix this. > > > > Additionally fix a

Re: [PATCH v2] backlight: pwm_bl: Fix uninitialized variable

2018-07-24 Thread Daniel Thompson
On Mon, Jul 23, 2018 at 08:23:43AM +0100, Lee Jones wrote: > On Thu, 19 Jul 2018, Daniel Thompson wrote: > > > Currently, if the DT does not define num-interpolated-steps then > > num_steps is undefined and the interpolation code will deploy randomly. > > Fix this. > > > > Additionally fix a

Re: [PATCH v2] backlight: pwm_bl: Fix uninitialized variable

2018-07-23 Thread Lee Jones
On Thu, 19 Jul 2018, Daniel Thompson wrote: > Currently, if the DT does not define num-interpolated-steps then > num_steps is undefined and the interpolation code will deploy randomly. > Fix this. > > Additionally fix a small grammar error that was identified and > tighten up return code