[ALSA] Fix rwlock around snd_iprintf() in sound core
commit746df94898554b3d8e91d855e934852e626c701c
authorTakashi Iwai <tiwai@suse.de>
Mon, 15 May 2006 17:49:05 +0000 (15 19:49 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:33:37 +0000 (22 21:33 +0200)
treedc312e426d52804d98080af18f12f5b14010d2e5
parent0defb2672d7cde8d048eec35c183da7b88adbd9e
[ALSA] Fix rwlock around snd_iprintf() in sound core

Fixed rwlock around snd_iprintf() in sound core part.
Replaced with mutex.
Also, make mutex and flags static variables with addition of
snd_card_locked() function (just for sound.c).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/core/init.c
sound/core/sound.c