ALSA: Remove BKL from open multiplexer
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Apr 2010 16:52:08 +0000 (18:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Apr 2010 08:28:36 +0000 (10:28 +0200)
commit4cf19b848f92641eeb2585949a09eedec57fb53a
treeaeaefaee475b6b89f482acc680ea26a785b5fb6f
parent5b5cd553e3ac49e6a9bac148f07ab94d3d96dae5
ALSA: Remove BKL from open multiplexer

Use a local mutex instead of BKL.  This should suffice since each device
type has also its open_mutex.
Also, a bit of clean-up of the legacy device auto-loading code.

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