Re: [RESEND PATCH] dmaengine: mmp_tdma: share the IRQ line

From: Vinod Koul
Date: Tue Jun 16 2020 - 12:28:48 EST


On 01-06-20, 21:22, Lubomir Rintel wrote:
> On a MMP2, the DMA interrupt is shared by all channels of the peripheral
> DMA controller and the audio DMA controller. Both drivers can identify
> their interrupts, but only the PDMA driver marks the line shared:
>
> [ 1.185782] mmp-pdma d4000000.dma: initialized 16 channels
> [ 1.186808] mmp-tdma d42a0800.adma: IRQ index 1 not found
> [ 1.194317] genirq: Flags mismatch irq 64. 00000000 (tdma) vs. 00000080 (pdma)
> [ 1.197894] mmp-tdma: probe of d42a0800.adma failed with error -16
>
> Let's turn on IRQF_SHARED in the ADMA driver as well.

Applied, thanks

--
~Vinod