android_kernel_xiaomi_sm8350/drivers/usb/gadget
Patrik Sevallius eb0be47dbb 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 <patrik.sevallius@enea.com>
[ Same bug was in other peripheral controller drivers; fixed ]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-02-01 14:34:52 -08:00
..
amd5536udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
amd5536udc.h
at91_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
at91_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
atmel_usba_udc.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
atmel_usba_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
config.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
dummy_hcd.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
epautoconf.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
ether.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
file_storage.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
fsl_usb2_udc.c usb gadget: fix fsl_usb2_udc potential OOPS 2008-02-01 14:34:43 -08:00
fsl_usb2_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
gadget_chips.h
gmidi.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
goku_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
goku_udc.h
inode.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
Kconfig USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
lh7a40x_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
lh7a40x_udc.h USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
m66592-udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
m66592-udc.h USB: m66592-udc: Add support for SH7722 USBF 2008-02-01 14:34:48 -08:00
Makefile USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
ndis.h
net2280.c USB: Add missing "space" to printk messages 2008-02-01 14:34:49 -08:00
net2280.h
omap_udc.c USB: device DMA support on OMAP2 2008-02-01 14:34:48 -08:00
omap_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
printer.c USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
pxa2xx_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
pxa2xx_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
rndis.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
rndis.h
s3c2410_udc.c USB: s3c2410_udc: minor irq handler cleanups 2008-02-01 14:34:48 -08:00
s3c2410_udc.h
serial.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
usbstring.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
zero.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00