summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Makefile
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2012-07-09 08:04:23 +0200
committerThierry Reding <thierry.reding@avionic-design.de>2012-07-23 13:24:04 +0200
commit9fb978b12f9cc2b4df428764273d96877d0a262d (patch)
tree337e292cda3387595b10b90356333ede3448e963 /drivers/pwm/Makefile
parentpwm: Use pr_* functions in pwm-samsung.c file (diff)
downloadlinux-9fb978b12f9cc2b4df428764273d96877d0a262d.tar.xz
linux-9fb978b12f9cc2b4df428764273d96877d0a262d.zip
pwm_backlight: pass correct brightness to callback
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 notify_after(), which results in inconsistent behavior. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/pwm/Makefile')
0 files changed, 0 insertions, 0 deletions