From e7bd254ed98e3b41fbcabe0e069601c2d5aeaf58 Mon Sep 17 00:00:00 2001 From: Alan Swanson Date: Wed, 29 May 2019 11:40:21 +0100 Subject: [PATCH] lantiq: BTHOMEHUBV5A: don't power off with restart button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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] --- .../linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ; }; };