Re: [PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function

2020-04-15 Thread Lee Jones
On Tue, 24 Mar 2020, Uwe Kleine-König wrote: > On Tue, Mar 24, 2020 at 02:24:41PM +, Lee Jones wrote: > > On Tue, 24 Mar 2020, Daniel Thompson wrote: > > > > > On Tue, Mar 24, 2020 at 01:57:35PM +0100, Uwe Kleine-König wrote: > > > > Hello Lee, > > > > > > > > On Tue, Mar 24, 2020 at 11:07:1

Re: [PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function

2020-03-24 Thread Uwe Kleine-König
On Tue, Mar 24, 2020 at 02:24:41PM +, Lee Jones wrote: > On Tue, 24 Mar 2020, Daniel Thompson wrote: > > > On Tue, Mar 24, 2020 at 01:57:35PM +0100, Uwe Kleine-König wrote: > > > Hello Lee, > > > > > > On Tue, Mar 24, 2020 at 11:07:10AM +, Lee Jones wrote: > > > > On Fri, 20 Mar 2020, Lee

Re: [PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function

2020-03-24 Thread Lee Jones
On Tue, 24 Mar 2020, Daniel Thompson wrote: > On Tue, Mar 24, 2020 at 01:57:35PM +0100, Uwe Kleine-König wrote: > > Hello Lee, > > > > On Tue, Mar 24, 2020 at 11:07:10AM +, Lee Jones wrote: > > > On Fri, 20 Mar 2020, Lee Jones wrote: > > > > > > > On Thu, 19 Mar 2020, Guru Das Srinagesh wrot

Re: [PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function

2020-03-24 Thread Daniel Thompson
On Tue, Mar 24, 2020 at 01:57:35PM +0100, Uwe Kleine-König wrote: > Hello Lee, > > On Tue, Mar 24, 2020 at 11:07:10AM +, Lee Jones wrote: > > On Fri, 20 Mar 2020, Lee Jones wrote: > > > > > On Thu, 19 Mar 2020, Guru Das Srinagesh wrote: > > > > > > > Since the PWM framework is switching stru

Re: [PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function

2020-03-24 Thread Uwe Kleine-König
Hello Lee, On Tue, Mar 24, 2020 at 11:07:10AM +, Lee Jones wrote: > On Fri, 20 Mar 2020, Lee Jones wrote: > > > On Thu, 19 Mar 2020, Guru Das Srinagesh wrote: > > > > > Since the PWM framework is switching struct pwm_state.period's datatype > > > to u64, prepare for this transition by using

Re: [PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function

2020-03-24 Thread Lee Jones
On Fri, 20 Mar 2020, Lee Jones wrote: > On Thu, 19 Mar 2020, Guru Das Srinagesh wrote: > > > Since the PWM framework is switching struct pwm_state.period's datatype > > to u64, prepare for this transition by using div_u64 to handle a 64-bit > > dividend instead of a straight division operation. >

Re: [PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function

2020-03-20 Thread Lee Jones
On Thu, 19 Mar 2020, Guru Das Srinagesh wrote: > Since the PWM framework is switching struct pwm_state.period's datatype > to u64, prepare for this transition by using div_u64 to handle a 64-bit > dividend instead of a straight division operation. > > Cc: Lee Jones > Cc: Daniel Thompson > Cc: J