mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-10 15:03:07 +00:00
realtek: debounce reset key for Zyxel GS1900
When the reset button is next to the SFP cages, I2C operations on the modules might cause interference on the button's GPIO line. Add a debounce-interval of 5 times the poll-interval to ensure the line is actually stable for some time and not just glitching. Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
parent
adfb1b7696
commit
4357f32d41
@ -20,6 +20,7 @@
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
debounce-interval = <100>;
|
||||
poll-interval = <20>;
|
||||
|
||||
reset {
|
||||
|
@ -41,6 +41,7 @@
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
debounce-interval = <100>;
|
||||
poll-interval = <20>;
|
||||
|
||||
mode {
|
||||
|
Loading…
Reference in New Issue
Block a user