]> git.baikalelectronics.ru Git - kernel.git/commit
pwm-backlight: Disable backlight on shutdown
authorThierry Reding <treding@nvidia.com>
Tue, 29 Apr 2014 15:28:59 +0000 (17:28 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 2 May 2014 11:25:59 +0000 (13:25 +0200)
commiteb1f97c23f5440594c735ff4e93540e90696e098
treeafc09c8181b95ce366318486f2f2e9fe5584a8a5
parentd7f71da91d23bd2a2da40afadeb2c16dc71ec8ed
pwm-backlight: Disable backlight on shutdown

When a device is shut down, make sure to disable the backlight. If it
stays lit, it gives the impression that the device hasn't turned off.
Furthermore keeping the backlight on may consume power, which is not
what users expect when they shut down a device.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/video/backlight/pwm_bl.c