Applied "ASoC: amd: modifications in dma stop sequence" to the asoc tree

Message ID E1euMMm-00020U-Ll@debutante
State Accepted
Commit 17aa9521d0c2856808c54ca1144d5c708e748928
Headers show
  • Applied "ASoC: amd: modifications in dma stop sequence" to the asoc tree
Related show

Commit Message

Mark Brown March 9, 2018, 6:03 p.m.
The patch

   ASoC: amd: modifications in dma stop sequence

has been applied to the asoc tree at 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.


From 17aa9521d0c2856808c54ca1144d5c708e748928 Mon Sep 17 00:00:00 2001
From: Vijendar Mukunda <>

Date: Fri, 9 Mar 2018 20:51:32 +0530
Subject: [PATCH] ASoC: amd: modifications in dma stop sequence

As per design, non-circular dma also need to be
stopped explicitly for both playback and capture

Signed-off-by: Vijendar Mukunda <>

Signed-off-by: Mark Brown <>

 sound/soc/amd/acp-pcm-dma.c | 4 ++++
 1 file changed, 4 insertions(+)


Alsa-devel mailing list


diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index 935c8fd42a7a..a1c6534455e6 100644
--- a/sound/soc/amd/acp-pcm-dma.c
+++ b/sound/soc/amd/acp-pcm-dma.c
@@ -949,12 +949,16 @@  static int acp_dma_trigger(struct snd_pcm_substream *substream, int cmd)
 		if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+			ret = acp_dma_stop(rtd->acp_mmio,
 			ret = acp_dma_stop(rtd->acp_mmio,
 			rtd->i2ssp_renderbytescount = 0;
 		} else {
 			ret = acp_dma_stop(rtd->acp_mmio,
+			ret = acp_dma_stop(rtd->acp_mmio,
 			rtd->i2ssp_capturebytescount = 0;