Re: [PATCH] ASoC: fsl_sai: add IRQF_SHARED

From: Daniel Baluta
Date: Thu Dec 05 2019 - 03:44:02 EST


On Fri, Nov 29, 2019 at 12:40 AM Michael Walle <michael@xxxxxxxx> wrote:
>
> The LS1028A SoC uses the same interrupt line for adjacent SAIs. Use
> IRQF_SHARED to be able to use these SAIs simultaneously.

Hi Michael,

Thanks for the patch. We have a similar change inside our internal tree
(it is on my long TODO list to upstream :D).

We add the shared flag conditionally on a dts property.

Do you think it is a good idea to always add shared flag? I'm thinking
on SAI IP integrations where the interrupt is edge triggered.

AFAIK edge triggered interrupts do not get along very well
with sharing an interrupt line.