]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit5f33b896246a2d9bdf01352de11d4dab96ba2fc9
treeafc09c8181b95ce366318486f2f2e9fe5584a8a5
parent093e00bb3f82f3c67e2d1682e316fc012bcd0d92
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