diff options
author | Arnaud Ebalard <arno@natisbad.org> | 2013-09-29 22:36:41 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-09-30 18:03:40 +0400 |
commit | aa06a5adb9bbebd0d694008b74233d8db4ebfa21 (patch) | |
tree | ec114fd131f5bb32d5087810bac61b37ae229aba /arch/arm/boot/dts/armada-370-netgear-rn102.dts | |
parent | ddf7e399024aa908573a08d6339cefa6253b83db (diff) | |
download | linux-aa06a5adb9bbebd0d694008b74233d8db4ebfa21.tar.xz |
ARM: mvebu: fix ReadyNAS 102 Power button GPIO to make it active high
NETGEAR ReadyNAS 102 Power button definition in .dts file flags
associated GPIO active low instead of active high. This results
in reversed events reported by input subsystem (0 returned when
the button is pressed, 1 when released). This patch makes
associated GPIO active high to recover correct behaviour.
Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-netgear-rn102.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-370-netgear-rn102.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts index 05e4485a8225..396949d809ac 100644 --- a/arch/arm/boot/dts/armada-370-netgear-rn102.dts +++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts @@ -160,7 +160,7 @@ button@1 { label = "Power Button"; linux,code = <116>; /* KEY_POWER */ - gpios = <&gpio1 30 1>; + gpios = <&gpio1 30 0>; }; button@2 { |