]> err.no Git - linux-2.6/commit
[PATCH] usbusx2y: prevent oops & dead keyboard on usb unplugging while the device...
authorKarsten Wiese <annabellesgarden@yahoo.de>
Tue, 14 Jun 2005 16:56:20 +0000 (09:56 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 14 Jun 2005 18:05:13 +0000 (11:05 -0700)
commitdcf78d80a6c2de829ec08c8e663a3370e982d616
tree77b572ad1e4dcda54f876ac721f54f1e8c8f117e
parentefa93dbedd0e2eacf49ea6fff1fe4397d520cf61
[PATCH] usbusx2y: prevent oops & dead keyboard on usb unplugging while the device is being used

Without this patch, some usb kobjects, which are parents to the usx2y's
kobjects can be freed before the usx2y's.  This led to an oops in
get_kobj_path_length() and a dead keyboard, when the usx2y's kobjects
were freed.  The patch ensures the correct sequence.  Tested ok on
kernel 2.6.12-rc2.

Present in ALSA cvs

Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/usb/usx2y/usbusx2y.c