mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-10 04:41:49 +00:00
realtek: move debounce-interval to correct node
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
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: 4357f32d41eb ("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 {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
debounce-interval = <100>;
|
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <100>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -41,13 +41,13 @@
|
|||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
debounce-interval = <100>;
|
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
|
|
||||||
mode {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <100>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user