Revert "ASoC: soc-pcm.c: call __soc_pcm_close() in soc_pcm_close()"

This reverts commit a63c6b1eed which is
commit 6bbabd28805f36baf6d0f3eb082db032a638f612 upstream.

It is part of a series of ASoC patches that break the Android abi.  If
they are needed in the future they can be brought back in an ABI-safe
way.

Bug: 161946584
Change-Id: Id20e128a518ef3b9ddfda5c107379cd40f46323e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2023-06-24 10:33:17 +00:00
parent df7d3d319f
commit 0ec0a734b1

View File

@@ -717,7 +717,7 @@ static int soc_pcm_close(struct snd_pcm_substream *substream)
struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
snd_soc_dpcm_mutex_lock(rtd);
__soc_pcm_close(rtd, substream);
soc_pcm_clean(rtd, substream, 0);
snd_soc_dpcm_mutex_unlock(rtd);
return 0;
}