]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] usbcore: Don't call device_release_driver recursively
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 6 May 2005 19:41:08 +0000 (15:41 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:29 +0000 (15:15 -0700)
commitf409661877a25d11c2495bcd879807f17c286684
treece14b7c16191af662d087c9be4a3fcbe642a63af
parentc95a6b057b108c2b7add35cba1354f9af921349e
[PATCH] usbcore: Don't call device_release_driver recursively

This patch fixes usb_driver_release_interface() to make it avoid calling
device_release_driver() recursively, i.e., when invoked from within the
disconnect routine for the same device.  The patch applies to your
"driver" tree.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c