ath79: etactica-eg200: fix restore button
authorKarl Pálsson <karlp@etactica.com>
Mon, 12 Aug 2019 16:37:34 +0000 (16:37 +0000)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 30 Aug 2019 21:03:18 +0000 (23:03 +0200)
The button is labelled reboot/restore in documentation, and has always
been used for that.  Naming it WPS has always been wrong.

Signed-off-by: Karl Pálsson <karlp@etactica.com>
[matched author with SoB]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ath79/dts/ar9331_etactica_eg200.dts

index d18a239d3263f53c2a877b0615406a9616aee653..708e9defa4cda7ee624bb91862778143fde484b7 100644 (file)
@@ -19,7 +19,7 @@
                poll-interval = <50>;
 
                restore {
-                       linux,code = <KEY_WPS_BUTTON>;
+                       linux,code = <KEY_RESTART>;
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
        };