ARM: footbridge: fix EBSA285 LEDs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 29 Nov 2013 00:54:38 +0000 (00:54 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 30 Nov 2013 22:20:59 +0000 (22:20 +0000)
commit67130c5464f50428aea0b4526a6729d61f9a1d53
tree3191c3489e4add6c417f3ee483e5c9a7207cf1cf
parent43659222e7a0113912ed02f6b2231550b3e471ac
ARM: footbridge: fix EBSA285 LEDs

- The LEDs register is write-only: it can't be read-modify-written.
- The LEDs are write-1-for-off not 0.
- The check for the platform was inverted.

Fixes: cf6856d693dd ("ARM: mach-footbridge: retire custom LED code")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: stable@vger.kernel.org
arch/arm/mach-footbridge/ebsa285.c