Hello. On 17-01-2011 13:57, Toshiharu Okada wrote: > When removing a serial gadget driver, the kernel warning message is outputted. > This patch fixed this issue. > The pch_udc driver did not have disconnection processing of gadget. > Signed-off-by: Toshiharu Okada<toshiharu-linux@xxxxxxxxxxxxxxx> > --- > drivers/usb/gadget/pch_udc.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > diff --git a/drivers/usb/gadget/pch_udc.c b/drivers/usb/gadget/pch_udc.c > index dfe927b..2610606 100644 > --- a/drivers/usb/gadget/pch_udc.c > +++ b/drivers/usb/gadget/pch_udc.c > @@ -2717,6 +2717,7 @@ int usb_gadget_unregister_driver(struct usb_gadget_driver *driver) > pch_udc_disable_interrupts(dev, UDC_DEVINT_MSK); > > /* Assues that there are no pending requets with this driver */ Time to also fix the typo? It's "assures", not "assues". > + driver->disconnect(&dev->gadget); > driver->unbind(&dev->gadget); > dev->gadget.dev.driver = NULL; > dev->driver = NULL; WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html