]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 13 Mar 2017 21:20:54 +0000 (15:20 -0600)
commit549ca47cbb8e5fc70634b5a5d880737da9bb4af4
treef6b185b855fd5e19b57c51dcb3b2361be586f5e0
parent5be52e6d24a42e98c8960a03fd68eb4a6b03dc2f
MIPS: BCM47XX: Fix button inversion for Asus WL-500W

BugLink: http://bugs.launchpad.net/bugs/1672544
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/mips/bcm47xx/buttons.c