]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: closing specific instance.
authorRavulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Thu, 18 Jun 2020 07:26:52 +0000 (12:56 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Jun 2020 11:51:57 +0000 (12:51 +0100)
commit2f4fd70a1c54d483390a10f02df4f1e84026e284
tree51aec82200a17fc301c98a14dc27a5a97c004c8f
parent32bb74785017136a306a4a3d65f2c3cb25160d17
ASoC: amd: closing specific instance.

The steps to reproduce:

Record from the internal mic :
(arecord -D hw:1,2 -f dat /dev/null -V stereos)

Record from the headphone mic:
(arecord -D hw:1,0 -f dat /dev/null -V stereos)

Kill the recording from internal mic.
We can see the recording from the headphone mic is broken.

This patch rectifies the issue reported.

Signed-off-by: Ravulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Link: https://lore.kernel.org/r/20200618072653.27103-1-Vishnuvardhanrao.Ravulapati@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/acp3x-pcm-dma.c