This patch series addresses the following issues. 1. EP0 is enabled after enabling pull-up in ci13xxx_udc. But some simulators are caching the ep0 max packet size at the time of pull-up enable due to which USB is not working. Fix this by initializing ep0 at gadget driver registration. 2. Retrieve the IN endpoint correctly from ep array while processing endpoint feature requests. 3. Data phase on control OUT is not working. 4. USB does not work some times after resume due to a race condition involved in clearing in_lpm flag. Other than above issues, a couple typo mistakes are corrected in this patch series. Changelog: - v2 - Resending patches with V2 tag :-) - logical AND operator is used instead of bitwiese AND for testing flags. - Fixes a typo error (s/EBUSY/-EBUSY) pointed out by Michal. Anji jonnala (1): USB: gadget: Initialize ep0 once while registering gadget in ci13xxx_udc Pavankumar Kondeti (6): USB: gadget: Fix typo (s/EBUSY/-EBUSY) in ci13xxx_udc USB: gadget: Use bitwise AND operator to test flags in ci13xxx_udc USB: gadget: Fix unused variable warning in ci13xxx_udc USB: gadget: Fix bug in endpoint feature request processing in ci13xxx_udc USB: gadget: Use ep0out for control OUT data phase in ci13xxx_udc USB: OTG: msm: Clear in_lpm flag before enabling the IRQ in resume drivers/usb/gadget/ci13xxx_udc.c | 65 ++++++++++++++++++++++++-------------- drivers/usb/otg/msm_otg.c | 4 +- 2 files changed, 43 insertions(+), 26 deletions(-) -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -- 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