Hi Felipe & Alan, It is the follow-up for: http://www.spinics.net/lists/linux-usb/msg112193.html This patchset adds reset API at usb_gadget_driver, the UDC driver can call it at bus_reset handler instead of calling disconnect. The benefits of this patchset are: - We can let the gadget driver do different things for bus reset. and host is disconnected, eg, whether pull down dp or not. - Match kernel doc for disconnect API, it says it is invoked "when the host is disconnected". - Will be more match for the real things the gadget driver does for connect and disconnect, when we introduce connect API later. The reason for I mark RFC is I don't add the modification for mass UDC driver changes, if you consider this patchset is ok, I will add them without RFC later. Peter Chen (7): usb: gadget: add reset API at usb_gadget_driver usb: gadget: composite: add reset API at usb_gadget_driver usb: gadget: configfs: add reset API at usb_gadget_driver usb: gadget: gadgetfs: add reset API at usb_gadget_driver usb: gadget: dbgp: add reset API at usb_gadget_driver usb: gadget: udc-core: delete usb_gadget_disconnect at usb_gadget_remove_driver usb: gadget: udc-core: call gadget driver's disconnect at soft disconnect drivers/usb/gadget/composite.c | 13 ++++++++++++- drivers/usb/gadget/configfs.c | 1 + drivers/usb/gadget/legacy/dbgp.c | 14 +++++++++++++- drivers/usb/gadget/legacy/inode.c | 16 +++++++++++++++- drivers/usb/gadget/udc/udc-core.c | 3 +-- include/linux/usb/composite.h | 1 + include/linux/usb/gadget.h | 2 ++ 7 files changed, 45 insertions(+), 5 deletions(-) -- 1.7.9.5 -- 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