Skip to contentSkip to conversation

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

PATCH Superseded Jai Luthra 2 participants 2 messages Apr 22, 2022 – Apr 29, 2022

Subsystems (3)
lore
Share & tools
lore

Jai Luthra

author
#0 lore raw

PATCH v2 1/1 ASoC: ti: davinci-mcasp: Add dma-type for bcdma

From: Jayesh Choudhary <[email protected]>

Set DMA type for ti-bcdma controller for AM62-SK.

---
 sound/soc/ti/davinci-mcasp.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/ti/davinci-mcasp.c +2 -0
index 2c146b91fca3..377be2e2b6ee 100644
@@ -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;
 }
Signature · 1 line
2.17.1
Acked-by on v2 1/1
#1 lore raw
Quoted 3 lines · Jai Luthra

From: Jayesh Choudhary <[email protected]>

Set DMA type for ti-bcdma controller for AM62-SK.

Quoted 19 lines
---
 sound/soc/ti/davinci-mcasp.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/ti/davinci-mcasp.c +2 -0
index 2c146b91fca3..377be2e2b6ee 100644
@@ -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;
 }
Signature · 1 line
Péter