* [PATCH v2] ASoC: ti: davinci-mcasp: Add dma-type for bcdma
@ 2022-04-22 5:40 Jai Luthra
2022-04-29 19:46 ` Péter Ujfalusi
0 siblings, 1 reply; 2+ messages in thread
From: Jai Luthra @ 2022-04-22 5:40 UTC (permalink / raw)
To: Peter Ujfalusi; +Cc: alsa-devel, linux-kernel, Jayesh Choudhary, Jai Luthra
From: Jayesh Choudhary <j-choudhary@ti.com>
Set DMA type for ti-bcdma controller for AM62-SK.
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Jai Luthra <j-luthra@ti.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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ASoC: ti: davinci-mcasp: Add dma-type for bcdma
2022-04-22 5:40 [PATCH v2] ASoC: ti: davinci-mcasp: Add dma-type for bcdma Jai Luthra
@ 2022-04-29 19:46 ` Péter Ujfalusi
0 siblings, 0 replies; 2+ messages in thread
From: Péter Ujfalusi @ 2022-04-29 19:46 UTC (permalink / raw)
To: Jai Luthra; +Cc: alsa-devel, linux-kernel, Jayesh Choudhary
On 4/22/22 08:40, Jai Luthra wrote:
> From: Jayesh Choudhary <j-choudhary@ti.com>
>
> Set DMA type for ti-bcdma controller for AM62-SK.
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
> Signed-off-by: Jai Luthra <j-luthra@ti.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;
> }
--
Péter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-29 19:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22 5:40 [PATCH v2] ASoC: ti: davinci-mcasp: Add dma-type for bcdma Jai Luthra
2022-04-29 19:46 ` Péter Ujfalusi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®