drivers/video/backlight/adp88?0_bl.c: fix resume
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 22 Feb 2013 00:44:04 +0000 (16:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:25 +0000 (17:22 -0800)
commit5eb02c01bd1f3ef195989ab05e835e2b0711b5a9
tree80dc6c58fcd531b8dd9035040cb56ebeacc4968c
parent5a429bdd6f1bedf401556de61c29117dd41fe3b1
drivers/video/backlight/adp88?0_bl.c: fix resume

Clearing the NSTBY bit in the control register also automatically clears
the BLEN bit.  So we need to make sure to set it again during resume,
otherwise the backlight will stay off.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/adp8860_bl.c
drivers/video/backlight/adp8870_bl.c