ar71xx: TL-MR3020: fix GPIO polarity for button and switch
authorGabor Juhos <juhosg@openwrt.org>
Wed, 25 Jan 2012 07:44:43 +0000 (07:44 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 25 Jan 2012 07:44:43 +0000 (07:44 +0000)
commit47e45167d90f0c1cc6bf8241f5ed2116de2f3b24
treea40672dc4c589839d6bb48eee38e978da970ca45
parent65e416c0b2ac82975ee57adc60b26ed70165a0d1
ar71xx: TL-MR3020: fix GPIO polarity for button and switch

This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29904 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-tl-mr3020.c
target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-tl-mr3020.c