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)
commitc11ac55b293270e109b7f6e209c4e9943067f43c
tree07e4c3275a13415e82fad60f675e005770f16c63
parent6f94da65870bf85f15693ea50bbc293625524b32
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>
SVN-Revision: 29904
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