]> git.hungrycats.org Git - linux/commit
MIPS: BCM47XX: Fix button inversion for Asus WL-500W
authorMirko Parthey <mirko.parthey@web.de>
Wed, 15 Feb 2017 22:31:30 +0000 (23:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 05:44:06 +0000 (06:44 +0100)
commitf2b15d5001236c5814317d46f9533c6ea42ae814
tree5f455cc4d84fa2a84c89ba90d4af5e47ff1b5164
parent890fb4e3c3e148084a39336d6543af6be0691a32
MIPS: BCM47XX: Fix button inversion for Asus WL-500W

commit bdfdaf1a016ef09cb941f2edad485a713510b8d5 upstream.

The Asus WL-500W buttons are active high, but the software treats them
as active low. Fix the inverted logic.

Fixes: 3be972556fa1 ("MIPS: BCM47XX: Import buttons database from OpenWrt")
Signed-off-by: Mirko Parthey <mirko.parthey@web.de>
Acked-by: Rafał Miłecki <rafal@milecki.pl>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15295/
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/bcm47xx/buttons.c