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

From: Masahiro Honda
Date: Wed Apr 19 2023 - 07:59:58 EST


Hi Nuno,

Thank you for your advice.

On Tue, Apr 18, 2023 at 8:06 PM Nuno Sá <noname.nuno@xxxxxxxxx> wrote:
>
> I'm not really keen with having the Kconfig option. I'm fairly convinced that
> this might be a problem affecting all sigma delta ADCs and even if they aren't
> affected, I do not think that setting this IRQ flag will do any arm (other than
> less efficiency maybe).
>
>
> If you really want to be on the safe side, we could add a new boolean to 'struct
> ad_sigma_delta_info' that would be enabled for your device and when true, the
> LAZY bit is set. Once we prove that all devices might be affected by this issue,
> we could remove the boolean and make it a default setting.
>
> - Nuno Sá

I understand. I'll only set and clear the IRQ flag.