]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: atmel-pwm-bl: fix gpio polarity in remove
authorJohan Hovold <jhovold@gmail.com>
Tue, 5 Nov 2013 05:56:42 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:42 +0000 (16:56 +1100)
commit91e19a9373978968d6bae5a195ec2524d87008fa
tree11f682f276ed23cb9cd3ed9659d3210b15395353
parent715427907f1d00d5cd5a04a26d089e2f29adb4d3
backlight: atmel-pwm-bl: fix gpio polarity in remove

Make sure to honour gpio polarity also at remove so that the backlight is
actually disabled on boards with active-low enable pin.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/atmel-pwm-bl.c