From: Jayesh Choudhary Date: Thu, 5 May 2022 11:12:26 +0000 (+0530) Subject: ASoC: ti: davinci-mcasp: Add dma-type for bcdma X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ea706e5604e6d68ec7ec7243f0af0b569045e925;p=linux.git ASoC: ti: davinci-mcasp: Add dma-type for bcdma Set DMA type for ti-bcdma controller for AM62-SK. Acked-by: Peter Ujfalusi Signed-off-by: Jayesh Choudhary Signed-off-by: Jai Luthra Link: https://lore.kernel.org/r/20220505111226.29217-1-j-luthra@ti.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/ti/davinci-mcasp.c b/sound/soc/ti/davinci-mcasp.c index 2c146b91fca32..377be2e2b6ee7 100644 --- a/sound/soc/ti/davinci-mcasp.c +++ b/sound/soc/ti/davinci-mcasp.c @@ -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; }