Skip to content
Commit a939bb57 authored by Qi Zheng's avatar Qi Zheng Committed by Linus Walleij
Browse files

pinctrl: intel: implement gpio_irq_enable



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: default avatarQi Zheng <qi.zheng@intel.com>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarQipeng Zha <qipeng.zha@intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent bf380cfa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment