aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorAlan Swanson <reiver@improbability.net>2019-05-29 11:40:21 +0100
committerPetr Štetiar <ynezz@true.cz>2019-05-30 11:55:50 +0200
commite7bd254ed98e3b41fbcabe0e069601c2d5aeaf58 (patch)
treebb5a166ae4fe93c8fabe94569c18fda57233d79b /target/linux/lantiq
parent5422fed7875a44b0dfd90685c5826f3e28a119f7 (diff)
downloadupstream-e7bd254ed98e3b41fbcabe0e069601c2d5aeaf58.tar.gz
upstream-e7bd254ed98e3b41fbcabe0e069601c2d5aeaf58.tar.bz2
upstream-e7bd254ed98e3b41fbcabe0e069601c2d5aeaf58.zip
lantiq: BTHOMEHUBV5A: don't power off with restart button
The restart button is currently assigned to KEY_POWER power script but an easily accessible button immediately powering off the device is undesirable. Switch to using new KEY_POWER2 reboot script with 5 second seen delay. Fixes: FS#1965 Signed-off-by: Alan Swanson <reiver@improbability.net> Signed-off-by: Petr Štetiar <ynezz@true.cz> [long line wrap]
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts
index c251fc3fc7..166eec3419 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts
@@ -48,7 +48,7 @@
restart {
label = "restart";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_POWER>;
+ linux,code = <KEY_POWER2>;
};
};