]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pwm-backlight: Fix brightness adjustment
authorThierry Reding <treding@nvidia.com>
Fri, 18 Oct 2013 08:46:24 +0000 (10:46 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 18 Oct 2013 08:50:46 +0000 (10:50 +0200)
commite4bfeda96872bfe6015cd360008b77cd3b981b2b
tree213e8377aa7a98ee7fa61f1e2bb5b06ff1982c86
parenta23086981723570c8952520d9ffaf6995d45f63e
pwm-backlight: Fix brightness adjustment

Split adjustment of the brightness (by changing the PWM duty cycle) from
the power on sequence. This fixes an issue where the brightness can no
longer be updated once the backlight has been enabled.

Reported-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/video/backlight/pwm_bl.c