mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-04 13:42:24 +00:00
realtek: move debounce-interval to correct node
The debounce-interval of a gpio-keys node should be placed in the key
node itself, not in the main node. Move the properties added earlier and
fix the key node name while we're here.
Fixes: 4357f32d41
("realtek: debounce reset key for Zyxel GS1900")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
parent
ae0fd92699
commit
777c6106ed
@ -20,13 +20,13 @@
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
debounce-interval = <100>;
|
||||
poll-interval = <20>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
debounce-interval = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -41,13 +41,13 @@
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
debounce-interval = <100>;
|
||||
poll-interval = <20>;
|
||||
|
||||
mode {
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
debounce-interval = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user