platform: imx8m: Fix DMAC names

On i.MX8M we use SDMA instead of EDMA. This commit adjusts the comments
to reflect this.

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

View File

@ -15,7 +15,7 @@
/* max number of supported DMA channels */
#define PLATFORM_MAX_DMA_CHAN 32
#define DMA_ID_EDMA0 0
#define DMA_ID_SDMA2 0
#define DMA_ID_HOST 1
#define dma_chan_irq(dma, chan) \

View File

@ -182,7 +182,7 @@ int platform_init(struct sof *sof)
if (ret < 0)
return -ENODEV;
/* Init EDMA platform domain */
/* Init SDMA platform domain */
sof->platform_dma_domain =
dma_multi_chan_domain_init(&sof->dma_info->dma_array[0],
1, PLATFORM_DEFAULT_CLOCK, false);