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]
This commit is contained in:
parent
5422fed787
commit
e7bd254ed9
@ -48,7 +48,7 @@
|
||||
restart {
|
||||
label = "restart";
|
||||
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
linux,code = <KEY_POWER2>;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user