ALSA: pcm - Fix race with proc files
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Sep 2010 21:06:50 +0000 (23:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Sep 2010 21:06:50 +0000 (23:06 +0200)
The PCM proc files may open a race against substream close, which can
end up with an Oops.  Use the open_mutex to protect for it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found