ar71xx: flag FritzBox 4020 buttons as active low
authorDavid Bauer <mail@david-bauer.net>
Tue, 11 Sep 2018 15:04:16 +0000 (17:04 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 2 Oct 2018 21:21:17 +0000 (23:21 +0200)
commit8baadecb1647a125f5d8f9eaf521c1468543133a
tree0e6e7183084f608261feeca5f47b9e06751bafc1
parentfca87a9871032b9e67fb2078885d93ed81b37876
ar71xx: flag FritzBox 4020 buttons as active low

Buttons of AVM FritzBox 4020 are incorrectly flagged as active high.

This was an oversight as RFKill button was working as expected even
with incorrectly flagged GPIO.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit cd02d4faf981bd4de0427cd23812b41192635d82)
target/linux/ar71xx/files/arch/mips/ath79/mach-fritz4020.c