mirror of https://github.com/thesofproject/sof.git
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:
parent
34cde56e2d
commit
48ad1b775e
|
@ -18,8 +18,7 @@
|
|||
#define DMA_ID_SDMA2 0
|
||||
#define DMA_ID_HOST 1
|
||||
|
||||
#define dma_chan_irq(dma, chan) \
|
||||
irqstr_get_sof_int(((int *)dma->plat_data.drv_plat_data)[chan])
|
||||
#define dma_chan_irq(dma, chan) dma_irq(dma)
|
||||
#define dma_chan_irq_name(dma, chan) dma_irq_name(dma)
|
||||
|
||||
#endif /* __PLATFORM_LIB_DMA_H__ */
|
||||
|
|
Loading…
Reference in New Issue