Re: [PATCH V2 2/4] gpio: sprd: Clear interrupt after set the interrupt type

From: Andy Shevchenko
Date: Thu Sep 21 2023 - 13:11:09 EST


On Thu, Sep 21, 2023 at 05:00:25PM +0800, Wenhua Lin wrote:
> The initialization state of the EIC module is a high level trigger.

Here you use EIC, in other places eic. Can you, please, be consistent?

> If it is currently a high level, the interrupt condition is met at
> this time, and the EIC interrupt has a latch capability, which will
> cause an interrupt to occur after booting. To avoid this, When setting
> the EIC interrupt trigger type, clear the interrupt once.

--
With Best Regards,
Andy Shevchenko