aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayesh Choudhary <[email protected]>2022-05-05 16:42:26 +0530
committerMark Brown <[email protected]>2022-05-05 13:24:46 +0100
commitea706e5604e6d68ec7ec7243f0af0b569045e925 (patch)
treedf7283561deb781626ccbbecb17095f9f6c0b359
parent6ff98a694cc114fd79f692345a7fbd469f800f8c (diff)
ASoC: ti: davinci-mcasp: Add dma-type for bcdma
Set DMA type for ti-bcdma controller for AM62-SK. Acked-by: Peter Ujfalusi <[email protected]> Signed-off-by: Jayesh Choudhary <[email protected]> Signed-off-by: Jai Luthra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/ti/davinci-mcasp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/ti/davinci-mcasp.c b/sound/soc/ti/davinci-mcasp.c
index 2c146b91fca3..377be2e2b6ee 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;
}