]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: lp855x: Don't clear level on suspend/blank
authorSean Paul <seanpaul@chromium.org>
Mon, 11 May 2015 20:32:05 +0000 (13:32 -0700)
committerLee Jones <lee.jones@linaro.org>
Tue, 23 Jun 2015 14:47:33 +0000 (15:47 +0100)
commit61c1c6147f69d8dea31fd133d2ec0b1594c9a3eb
tree0dc100b318d95ff504ebf3213bc157d05b6418b1
parent0e441665bc6286a306a23cb0354b56d61e1d9ce6
backlight: lp855x: Don't clear level on suspend/blank

Don't clear the backlight level when we're going into suspend or
blanking. Instead, just temporarily set the level to 0 so we retain
the value when we resume.

Reported-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Tested-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Acked-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/lp855x_bl.c