Re: [PATCH] mfd: max8907: Remove IRQF_NO_AUTOEN flag

From: Lee Jones
Date: Tue Jun 15 2021 - 08:19:21 EST


On Tue, 15 Jun 2021, Sergey Larin wrote:

> IRQF_NO_AUTOEN flag doesn't go well with IRQF_SHARED flag - the
> check in request_threaded_irq fails and exits with EINVAL.
>
> So we ignore the flag and enable it on the first IRQ request. No
> interrupt should arrive from the chip as all interrupts are masked
> by default.
>
> Signed-off-by: Sergey Larin <cerg2010cerg2010@xxxxxxx>
> ---
> drivers/mfd/max8907.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog