Re: [PATCH] Input: gpio-keys - fix crash when disabliing GPIO-less buttons

2021-04-07 Thread Tony Lindgren
* Dmitry Torokhov [210407 05:30]: > My brain-damaged adjustments to Paul's patch caused crashes in > gpio_keys_disable_button() when driver is used in GPIO-less (i.e. > purely interrupt-driven) setups, because I mixed together debounce and > release timers when they are in fact separate: > >

[PATCH] Input: gpio-keys - fix crash when disabliing GPIO-less buttons

2021-04-06 Thread Dmitry Torokhov
My brain-damaged adjustments to Paul's patch caused crashes in gpio_keys_disable_button() when driver is used in GPIO-less (i.e. purely interrupt-driven) setups, because I mixed together debounce and release timers when they are in fact separate: Unable to handle kernel NULL pointer dereference