]> 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>
Wed, 20 Feb 2013 02:15:31 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:18 +0000 (16:53 +1100)
commita8177cc75556a756ada768a12733c29cb4f1120a
treee3734102969605bdf683a843fa68030ff1aa9290
parent5489798e7ae1d566e30c91d6063f35f6d1487979
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>
drivers/video/backlight/adp8860_bl.c
drivers/video/backlight/adp8870_bl.c