mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
There is unexpected gpio interrupt after irq_enable. If not implemeted gpio_irq_enable callback, irq_enable calls irq_unmask instead. But if there was interrupt set before the irq_enable, unmask it may trigger the unexpected interrupt. By implementing the gpio_irq_enable callback, do interrupt status ack, the issue has gone. Signed-off-by: Qi Zheng <[email protected]> Signed-off-by: Mika Westerberg <[email protected]> Signed-off-by: Qipeng Zha <[email protected]> Signed-off-by: Linus Walleij <[email protected]>