Commit ea706e56 authored by Jayesh Choudhary's avatar Jayesh Choudhary Committed by Mark Brown

ASoC: ti: davinci-mcasp: Add dma-type for bcdma

Set DMA type for ti-bcdma controller for AM62-SK.
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@gmail.com>
Signed-off-by: default avatarJayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: default avatarJai Luthra <j-luthra@ti.com>
Link: https://lore.kernel.org/r/20220505111226.29217-1-j-luthra@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6ff98a69
......@@ -2047,6 +2047,8 @@ static int davinci_mcasp_get_dma_type(struct davinci_mcasp *mcasp)
return PCM_SDMA;
else if (strstr(tmp, "udmap"))
return PCM_UDMA;
else if (strstr(tmp, "bcdma"))
return PCM_UDMA;
return PCM_EDMA;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment