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)
commit9f7041b71a2f5defc1629368e7dbe83a9c6ea388
tree51aec82200a17fc301c98a14dc27a5a97c004c8f
parentdcb231e86a237a21305fb838e8140898fb140bcf
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