Messages in this thread | | | From | "Du, Changbin" <> | Subject | RE: [PATCH v2] usb: gadget: forbid queuing request to a disabled ep | Date | Thu, 17 Dec 2015 09:35:18 +0000 |
| |
> >> 2.5.0 > > > > With this patch, ep0 transfer breaks. it because the 'enabled' of ep0 > > is not set. Ep0 is not enabled by usb_ep_enable, but in UDC driver. So > > there need another patch to set ep0's flag also. > > yeah, we don't like regressions :-) So the fix should come before > $subject to avoid a regression. > > -- > balbi It is hard to determine if ep0 is enabled or not in gadget API layer. Because it is controlled by udc driver, it may enable it at pullup, vbussession... But here, we can ignore for control-ep, considering it always enabled during usb session.
| |