On Mon, Jan 25, 2021 at 4:19 AM Hailong Fan [off-list ref] wrote:
When flipping the polarity will be generated interrupt under certain
circumstances, but GPIO external signal has not changed.
Then, mask the interrupt before polarity setting, and clear the
unexpected interrupt after trigger type setting completed.
Signed-off-by: Hailong Fan <redacted>
Reviewed-by: Nicolas Boichat <redacted>
Patch applied for fixes.
Yours,
Linus Walleij
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek