summaryrefslogtreecommitdiff
path: root/sound/core/seq/seq.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-10-15 14:09:42 +0200
committerTakashi Iwai <tiwai@suse.de>2014-10-18 20:25:19 +0200
commitd5129f33a0d155d69cb0652cfc87bbc4d132ca17 (patch)
tree3424906118af81274dad34028ed675d609b1be3c /sound/core/seq/seq.c
parent68ab61084de3220e2fb0a698c890ba91decddc85 (diff)
Subject: ALSA: seq: Remove autoload locks in driver registration
Since we're calling request_module() asynchronously now, we can get rid of the autoload lock in snd_seq_device_register_driver(), as well as in the snd-seq driver registration itself. This enables the automatic loading of dependent sequencer modules, such as snd-seq-virmidi from snd-emu10k1-synth. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/seq.c')
-rw-r--r--sound/core/seq/seq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/core/seq/seq.c b/sound/core/seq/seq.c
index bebdd2e920ca..7e0aabb808a6 100644
--- a/sound/core/seq/seq.c
+++ b/sound/core/seq/seq.c
@@ -86,7 +86,6 @@ static int __init alsa_seq_init(void)
{
int err;
- snd_seq_autoload_lock();
if ((err = client_init_data()) < 0)
goto error;
@@ -112,7 +111,6 @@ static int __init alsa_seq_init(void)
snd_seq_autoload_init();
error:
- snd_seq_autoload_unlock();
return err;
}