Re: [PATCHv3] pwm_backlight: pass correct brightness to callback

2012-07-09 Thread Thierry Reding
On Mon, Jul 09, 2012 at 03:04:23PM +0900, Alexandre Courbot wrote: > pwm_backlight_update_status calls the notify() and notify_after() > callbacks before and after applying the new PWM settings. However, if > brightness levels are used, the brightness value will be changed from > the index into

[PATCHv3] pwm_backlight: pass correct brightness to callback

2012-07-09 Thread Alexandre Courbot
pwm_backlight_update_status calls the notify() and notify_after() callbacks before and after applying the new PWM settings. However, if brightness levels are used, the brightness value will be changed from the index into the levels array to the PWM duty cycle length before being passed to

[PATCHv3] pwm_backlight: pass correct brightness to callback

2012-07-09 Thread Alexandre Courbot
pwm_backlight_update_status calls the notify() and notify_after() callbacks before and after applying the new PWM settings. However, if brightness levels are used, the brightness value will be changed from the index into the levels array to the PWM duty cycle length before being passed to

Re: [PATCHv3] pwm_backlight: pass correct brightness to callback

2012-07-09 Thread Thierry Reding
On Mon, Jul 09, 2012 at 03:04:23PM +0900, Alexandre Courbot wrote: pwm_backlight_update_status calls the notify() and notify_after() callbacks before and after applying the new PWM settings. However, if brightness levels are used, the brightness value will be changed from the index into the