On Mon, Jan 25, 2021 at 4:19 AM Hailong Fan <hailong.fan@xxxxxxxxxxxx> 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 <hailong.fan@xxxxxxxxxxxx> > Reviewed-by: Nicolas Boichat <drinkcat@xxxxxxxxxxxx> Patch applied for fixes. Yours, Linus Walleij