> > > > } else { > > > > + if (ci->driver) > > > > + ci->driver->disconnect(&ci->gadget); > > > > > > This looks wrong. Why do you need to call ->disconnect() here ? > > > > When we disconnect usb cable from the host, we need to notify gadget > module > > disconnection occurs, the gadget module may not be unloaded in future. > Sorry, can you point that? Peter, -- 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