[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220421132224.8601-3-j-luthra@ti.com>
Date: Thu, 21 Apr 2022 18:52:23 +0530
From: Jai Luthra <j-luthra@...com>
To: Peter Ujfalusi <peter.ujfalusi@...il.com>,
Nishanth Menon <nm@...com>,
Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Jayesh Choudhary <j-choudhary@...com>
CC: <alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, Jai Luthra <j-luthra@...com>
Subject: [PATCH 2/3] ASoC: ti: davinci-mcasp: Add dma-type for bcdma
From: Jayesh Choudhary <j-choudhary@...com>
Set DMA type for ti-bcdma controller for AM62-SK.
Signed-off-by: Jayesh Choudhary <j-choudhary@...com>
Signed-off-by: Jai Luthra <j-luthra@...com>
---
sound/soc/ti/davinci-mcasp.c | 2 ++
1 file changed, 2 insertions(+)
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;
}
--
2.17.1
Powered by blists - more mailing lists