Andan,
Can you please test latest mainline kernel? I think this commit can fix your issue:
commit 670784fb4ebe54434e263837390e358405031d9e
Author: Kai-Heng Feng <email address hidden>
Date: Tue Apr 30 16:37:53 2019 +0800
pinctrl: intel: Clear interrupt status in mask/unmask callback
Commit a939bb57cd47 ("pinctrl: intel: implement gpio_irq_enable") was
added because clearing interrupt status bit is required to avoid
unexpected behavior.
Turns out the unmask callback also needs the fix, which can solve weird
IRQ triggering issues on I2C touchpad ELAN1200.
Andan, 34e263837390e35 8405031d9e
Can you please test latest mainline kernel? I think this commit can fix your issue:
commit 670784fb4ebe544
Author: Kai-Heng Feng <email address hidden>
Date: Tue Apr 30 16:37:53 2019 +0800
pinctrl: intel: Clear interrupt status in mask/unmask callback
Commit a939bb57cd47 ("pinctrl: intel: implement gpio_irq_enable") was
added because clearing interrupt status bit is required to avoid
unexpected behavior.
Turns out the unmask callback also needs the fix, which can solve weird
IRQ triggering issues on I2C touchpad ELAN1200.
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Andy Shevchenko <email address hidden>