]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:31 +0000 (05:38 -0800)
commitc73fc1e7acbbf8c6346eb6035751bee9ca472d8f
tree1a505c5168433f6158372aba813623d2072bafe6
parent8ed82bbebcaaddb46bc4d5531ba9fd5d6ecd77d1
drivers/video/backlight/adp88?0_bl.c: fix resume

commit 5eb02c01bd1f3ef195989ab05e835e2b0711b5a9 upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/backlight/adp8860_bl.c
drivers/video/backlight/adp8870_bl.c