gpio-button-hotplug: gpio-keys: fix always missing first event
Commitv19.07.3_mercusys_ac12_dumaafc056d7dc
("gpio-button-hotplug: support interrupt properties") changed the gpio-keys interrupt handling logic in a way, that it always misses first event, which causes issues with rc.button scripts, so this patch restores the previous behaviour. Fixes:afc056d7dc
("gpio-button-hotplug: support interrupt properties") Reported-by: Kristian Evensen <kristian.evensen@gmail.com> Tested-by: Kuan-Yi Li <kyli.tw@gmail.com> Signed-off-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [drop state check]
parent
27d234a345
commit
6c5bfaac84
Loading…
Reference in New Issue