* [PATCH] fix seq device driver locking
@ 2002-12-09 8:12 Clemens Ladisch
2002-12-09 11:41 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Clemens Ladisch @ 2002-12-09 8:12 UTC (permalink / raw)
To: alsa-devel
In my disconnect patch, I forgot to unlock the driver.
This prevented it from being freed properly.
--
Clemens
Index: core/seq/seq_device.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_device.c,v
retrieving revision 1.9
diff -u -r1.9 seq_device.c
--- core/seq/seq_device.c 29 Nov 2002 14:38:57 -0000 1.9
+++ core/seq/seq_device.c 9 Dec 2002 08:10:00 -0000
@@ -283,6 +283,8 @@
return -ENOENT;
free_device(dev, ops);
+
+ unlock_driver(ops);
return 0;
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-09 11:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 8:12 [PATCH] fix seq device driver locking Clemens Ladisch
2002-12-09 11:41 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.