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)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 17 Feb 2017 11:16:46 +0000 (11:16 +0000)
commitbdfdaf1a016ef09cb941f2edad485a713510b8d5
treeb1e607c4351b7fcab5bc94b2aa38b40f63a83a7c
parent650a2b29cd4aeff6e4d27d823c5f0dcea6566c8b
MIPS: BCM47XX: Fix button inversion for Asus WL-500W

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
Cc: <stable@vger.kernel.org> # 3.14.x-
Patchwork: https://patchwork.linux-mips.org/patch/15295/
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/mips/bcm47xx/buttons.c