> - if (driver->disconnect) > - driver->disconnect(&udc->gadget); > + driver->unbind(&udc->gadget); > > device_del(&udc->gadget.dev); > udc->driver = NULL; I guess you should call disconnect first and then unbind; -- 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