From: Alan Swanson Date: Wed, 29 May 2019 10:40:21 +0000 (+0100) Subject: lantiq: BTHOMEHUBV5A: don't power off with restart button X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e7bd254ed98e3b41fbcabe0e069601c2d5aeaf58;p=openwrt%2Fstaging%2Frobimarko.git 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 Signed-off-by: Petr Štetiar [long line wrap] --- 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 = ; + linux,code = ; }; };