linux-stable/drivers/usb/dwc3
Felipe Balbi c7fcdeb262 usb: dwc3: ep0: simplify EP0 state machine
The DesignWare USB3 core tells us which phase
of a control transfer should be started, it
also tells us which physical endpoint needs
that transfer.

With these two informations, we have all we
need to simply EP0 handling quite a lot and
get rid rid of the SW state machine tracking
ep0 states.

For achieving this perfectly, we needed to
add support for situations where we get
XferNotReady while endpoint is still busy
and XferNotReady while gadget driver still
hasn't queued a request.

Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-09-09 13:02:07 +03:00
..
core.c
core.h usb: dwc3: ep0: simplify EP0 state machine 2011-09-09 13:02:07 +03:00
debug.h
debugfs.c usb: dwc3: debugfs: add a kfree() on error to dwc3_testmode_open() 2011-09-09 13:01:59 +03:00
dwc3-omap.c
dwc3-pci.c
ep0.c usb: dwc3: ep0: simplify EP0 state machine 2011-09-09 13:02:07 +03:00
gadget.c usb: dwc3: ep0: simplify EP0 state machine 2011-09-09 13:02:07 +03:00
gadget.h usb: fix dwc3 build when USB_GADGET_DWC3 is not enabled 2011-08-24 15:06:53 -07:00
io.h
Kconfig
Makefile