Felipe: A UDC driver will invoke the gadget driver's ->disconnect callback whenever the D+ pullup is turned off. During gadget driver unbinding, this happens automatically when usb_gadget_remove_driver() calls usb_gadget_disconnect(). But immediately thereafter, usb_gadget_remove_driver() calls the gadget driver's ->disconnect callback directly! Do we have any reason for doing this? I don't see point to it. Should that call be removed? Of possible relevance: commit 0abd06969825 ("usb: gadget: udc-core: call ->disconnect() when soft disconnecting"). Alan Stern -- 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