projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
551c9c8
)
lantiq: BTHOMEHUBV5A - use the power event code for the restart button
author
Mathias Kresin
<dev@kresin.me>
Sun, 19 Jun 2016 14:34:47 +0000
(16:34 +0200)
committer
John Crispin
<john@phrozen.org>
Mon, 20 Jun 2016 09:45:44 +0000
(11:45 +0200)
The restart event code is used in LEDE to trigger a factory reset on
long press as well.
By using the power event code, the restart functionality can be used
without being prone to trigger a factory reset.
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/dts/BTHOMEHUBV5A.dts
patch
|
blob
|
history
diff --git
a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index e62a18d9dc4c930760ed70d9264d10caa4c40dd1..2013b31063836becbed41bcfd5ca783414d49898 100644
(file)
--- a/
target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/
target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@
-158,7
+158,7
@@
restart {
label = "restart";
gpios = <&gpio 39 1>;
- linux,code = <0x
198
>;
+ linux,code = <0x
74
>;
};
};