platform: imx8m: dma: Fix DMA interrupt handling

On i.MX8M we don't use SDMA which requires individual interrupts per
channel. Let dma_chan_irq and dma_chan_irq_name fallback to the
controller specific interrupt.

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
This commit is contained in:
Paul Olaru 2020-03-18 14:58:52 +02:00 committed by Daniel Baluta
parent 34cde56e2d
commit 48ad1b775e
1 changed files with 1 additions and 2 deletions

View File

@ -18,8 +18,7 @@
#define DMA_ID_SDMA2 0 #define DMA_ID_SDMA2 0
#define DMA_ID_HOST 1 #define DMA_ID_HOST 1
#define dma_chan_irq(dma, chan) \ #define dma_chan_irq(dma, chan) dma_irq(dma)
irqstr_get_sof_int(((int *)dma->plat_data.drv_plat_data)[chan])
#define dma_chan_irq_name(dma, chan) dma_irq_name(dma) #define dma_chan_irq_name(dma, chan) dma_irq_name(dma)
#endif /* __PLATFORM_LIB_DMA_H__ */ #endif /* __PLATFORM_LIB_DMA_H__ */