aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2022-08-22 02:35:32 +0000
committerMark Brown <[email protected]>2022-08-25 16:58:30 +0000
commit6bbabd28805f36baf6d0f3eb082db032a638f612 (patch)
tree46ebef9de40f2bd05d0e460de3f152f06278bf5a /lib/string_helpers.c
parentASoC platform driver for Apple MCA (diff)
downloadkernel-6bbabd28805f36baf6d0f3eb082db032a638f612.tar.gz
kernel-6bbabd28805f36baf6d0f3eb082db032a638f612.zip
ASoC: soc-pcm.c: call __soc_pcm_close() in soc_pcm_close()
commit b7898396f4bbe16 ("ASoC: soc-pcm: Fix and cleanup DPCM locking") added __soc_pcm_close() for non-lock version of soc_pcm_close(). But soc_pcm_close() is not using it. It is no problem, but confusable. static int __soc_pcm_close(...) { => return soc_pcm_clean(rtd, substream, 0); } static int soc_pcm_close(...) { ... snd_soc_dpcm_mutex_lock(rtd); => soc_pcm_clean(rtd, substream, 0); snd_soc_dpcm_mutex_unlock(rtd); return 0; } This patch use it. Fixes: b7898396f4bbe16 ("ASoC: soc-pcm: Fix and cleanup DPCM locking") Cc: Takashi Iwai <[email protected]> Signed-off-by: Kuninori Morimoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions