From: Patrik Sevallius Date: Tue, 20 Nov 2007 17:32:00 +0000 (-0800) Subject: USB: usb peripheral controller driver oops avoidance X-Git-Tag: v2.6.25-rc1~1075^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb0be47dbbdca133b1b94adc564297f25176b3ab;p=pandora-kernel.git USB: usb peripheral controller driver oops avoidance I'm having problem with oopses when rebooting, if I modprobe g_serial and rmmod g_serial and do a reboot I get an oops in device_shutdown(). The reason seems to be that usb_gadget_unregister_driver() doesn't do enough cleanup. With this at91_udc patch I don't get the oops. Signed-off-by: Patrik Sevallius [ Same bug was in other peripheral controller drivers; fixed ] Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed