Re: [PATCH 3/3] gpio: sprd: Add clear interrupt

Andy Shevchenko
2023-08-08T16:46:41Z

On Tue, Aug 08, 2023 at 11:31:44AM +0800, Wenhua Lin wrote:
> Clear interrupt after set the interrupt type.

Why?

Can't it be done in the ->init_hw() callback of GPIO IRQ chip?

--
With Best Regards,
Andy Shevchenko