here's v4 Changes since v3: - Remove direct inclusion of <uapi/linux/usb/ch9.h> Chances since v2: - split usb_state_string() to a separate patch, placed it on usb-common.c and renamed from usb_device_state_string() - moved NOTATTACHED to udc-core.c::usb_add_gadget_udc(). Felipe Balbi (3): usb: common: introduce usb_state_string() usb: gadget: introduce gadget state tracking usb: dwc3: gadget: implement gadget status tracking drivers/usb/dwc3/ep0.c | 15 ++++++++++++--- drivers/usb/gadget/udc-core.c | 23 +++++++++++++++++++++++ drivers/usb/usb-common.c | 21 +++++++++++++++++++++ include/linux/usb/ch9.h | 9 +++++++++ include/linux/usb/gadget.h | 9 +++++++++ 5 files changed, 74 insertions(+), 3 deletions(-) -- 1.8.1.rc1.5.g7e0651a -- 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