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

From: Andy Shevchenko
Date: Tue Aug 08 2023 - 12:46:41 EST


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