summaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorpaulhsia <paulhsia@chromium.org>2019-11-13 01:17:14 +0800
committerTakashi Iwai <tiwai@suse.de>2019-11-13 10:51:36 +0100
commitf5cdc9d4003a2f66ea57b3edd3e04acc2b1a4439 (patch)
treea17360281ab0a47bf58eb41881fc1367a2b8395c /sound/usb
parent528699317dd6dc722dccc11b68800cf945109390 (diff)
downloadlinux-f5cdc9d4003a2f66ea57b3edd3e04acc2b1a4439.tar.bz2
ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed()
If the nullity check for `substream->runtime` is outside of the lock region, it is possible to have a null runtime in the critical section if snd_pcm_detach_substream is called right before the lock. Signed-off-by: paulhsia <paulhsia@chromium.org> Link: https://lore.kernel.org/r/20191112171715.128727-2-paulhsia@chromium.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions