pwm-backlight: Fix brightness adjustment
authorThierry Reding <treding@nvidia.com>
Fri, 18 Oct 2013 08:46:24 +0000 (10:46 +0200)
committer黄涛 <huangtao@rock-chips.com>
Tue, 25 Feb 2014 09:00:32 +0000 (17:00 +0800)
commit685f4a4b7182ed27763da246a0d6726aebe3df21
tree29fa6368427435e0f9ebd5b899fef09db73aa2fa
parentc7efdbbd1045d0ddbab588b35ee453ef2a7a9869
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>
Conflicts:
drivers/video/backlight/pwm_bl.c
drivers/video/backlight/pwm_bl.c