Re: [PATCH] powerpc/4xx/uic: clear pending interrupt after irq type/pol change

2019-07-07 Thread Michael Ellerman
On Sat, 2019-06-15 at 15:23:13 UTC, Christian Lamparter wrote: > When testing out gpio-keys with a button, a spurious > interrupt (and therefore a key press or release event) > gets triggered as soon as the driver enables the irq > line for the first time. > > This patch clears any potential

[PATCH] powerpc/4xx/uic: clear pending interrupt after irq type/pol change

2019-06-15 Thread Christian Lamparter
When testing out gpio-keys with a button, a spurious interrupt (and therefore a key press or release event) gets triggered as soon as the driver enables the irq line for the first time. This patch clears any potential bogus generated interrupt that was caused by the switching of the associated