mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
c1f2484168
The PCM shmem pages are allocated in snd_usx2y_usbpcm_prepare(). Theoretically the prepare callback may be called simultaneously for both playback and capture, hence this allocation can be racy. Make sure that the allocation is performed exclusively by extending the pcm_mutex lock to cover the allocation code, too. Link: https://lore.kernel.org/r/20210517131545.27252-8-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
Makefile | ||
us122l.c | ||
us122l.h | ||
usb_stream.c | ||
usb_stream.h | ||
usbus428ctldefs.h | ||
usbusx2y.c | ||
usbusx2y.h | ||
usbusx2yaudio.c | ||
usx2y.h | ||
usx2yhwdeppcm.c | ||
usx2yhwdeppcm.h | ||
usX2Yhwdep.c | ||
usX2Yhwdep.h |