Re: [PATCH v3] Fix IRQ issue by setting IRQ_DISABLE_UNLAZY flag

From: Nuno Sá
Date: Fri Apr 21 2023 - 04:57:36 EST


On Thu, 2023-04-20 at 19:23 +0900, Masahiro Honda wrote:
> The Sigma-Delta ADCs supported by this driver can use SDO as an interrupt
> line to indicate the completion of a conversion. However, some devices
> cannot properly detect the completion of a conversion by an interrupt.
> This is for the reason mentioned in the following commit.
>
> commit e9849777d0e2 ("genirq: Add flag to force mask in
>                       disable_irq[_nosync]()")
>
> A read operation is performed by an extra interrupt before the completion
> of a conversion. This patch fixes the issue by setting IRQ_DISABLE_UNLAZY
> flag.
>
> Signed-off-by: Masahiro Honda <honda@xxxxxxxxxxxxx>
> ---

LGTM:

Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx