From: Karsten Wiese Date: Wed, 20 Apr 2005 08:12:35 +0000 (+0200) Subject: [ALSA] prevent oops & dead keyboard on usb unplugging while the device is being used X-Git-Tag: v2.6.13-rc1~68^2~679 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=230cd5e24853ed4dd960461989b8ed0986d37a99;p=pandora-kernel.git [ALSA] prevent oops & dead keyboard on usb unplugging while the device is being used USB generic driver,USB USX2Y 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. Signed-off-by: Karsten Wiese Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed