diff --git a/sound/core/pcm.c b/sound/core/pcm.c index f174685a7f3b..80d368530fbb 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c @@ -146,7 +146,9 @@ static int snd_pcm_control_ioctl(struct snd_card *card, err = -ENXIO; goto _error; } + mutex_lock(&pcm->open_mutex); err = snd_pcm_info_user(substream, info); + mutex_unlock(&pcm->open_mutex); _error: mutex_unlock(®ister_mutex); return err;