git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
sound
/
core
/
seq
/
seq_dummy.c
diff --git
a/sound/core/seq/seq_dummy.c
b/sound/core/seq/seq_dummy.c
index
f350bcd
..
6380acf
100644
(file)
--- a/
sound/core/seq/seq_dummy.c
+++ b/
sound/core/seq/seq_dummy.c
@@
-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)