]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: AMD: Always stop ch2 first
authorDaniel Kurtz <djkurtz@chromium.org>
Mon, 2 Jul 2018 21:19:50 +0000 (15:19 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 3 Jul 2018 15:14:28 +0000 (16:14 +0100)
commit987eb8191337ee43f93bc17808a21c0963ff17d6
tree4b5e2253b343ac32af21f7c5029f3457bdc50084
parent646575de6f196bad832b25a001acba1297911f48
ASoC: AMD: Always stop ch2 first

Commit 993f4319155cf ("ASoC: AMD: make channel 1 dma as circular") made
both channels circular, so this comment and logic no longer applies.  Always
stop ch2 (the channel closest to the output) before ch1.  This ensures
that the downstream circular DMA channel does not continue to play/capture
repeated samples after the upstream circular DMA channel has already
stopped.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-pcm-dma.c