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)
commitbacd69b79dd00802cc7f210e623f7e4e92c64302
treea40672dc4c589839d6bb48eee38e978da970ca45
parent41e24a09cf4b6a1e1221f2a92ef97891acd131ba
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