vserver 1.9.5.x5
[linux-2.6.git] / sound / core / seq / seq_dummy.c
index f350bcd..6380acf 100644 (file)
@@ -256,7 +256,11 @@ delete_client(void)
 
 static int __init alsa_seq_dummy_init(void)
 {
-       return register_client();
+       int err;
+       snd_seq_autoload_lock();
+       err = register_client();
+       snd_seq_autoload_unlock();
+       return err;
 }
 
 static void __exit alsa_seq_dummy_exit(void)