linux/drivers/usb/dwc3
Sebastian Andrzej Siewior f0f2b2a2db usb: dwc3: ep0: push ep0state into xfernotready processing
We wait for the XferNotReady before we start the transfer and by then we
know ep0 state in which we supposed to be.
This is some cleanup work for the following patch in which we require to
know the ep0 state before the transfer completes.
While here, also change the argument to dwc3_ep0_do_control_status() so
we don't require the complete event structure but only the required
piece of information.

Inspired-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-12-12 11:48:30 +02:00
..
core.c usb: dwc3: move generic dwc3 code from gadget into core 2011-12-12 11:48:27 +02:00
core.h usb: dwc3: use a helper function for operation mode setting 2011-12-12 11:48:26 +02:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: fix sparse errors 2011-12-12 11:48:29 +02:00
dwc3-omap.c usb: dwc3: omap: add multiple instances support to OMAP 2011-12-12 11:48:23 +02:00
dwc3-pci.c usb: dwc3: move dwc3 device ID bitmap to core.c 2011-12-12 11:48:21 +02:00
ep0.c usb: dwc3: ep0: push ep0state into xfernotready processing 2011-12-12 11:48:30 +02:00
gadget.c usb: dwc3: fix few coding style problems 2011-12-12 11:48:29 +02:00
gadget.h usb: dwc3: fix few coding style problems 2011-12-12 11:48:29 +02:00
host.c usb: dwc3: host: remove unused includes 2011-12-12 11:48:19 +02:00
io.h usb: dwc3: fix few coding style problems 2011-12-12 11:48:29 +02:00
Kconfig usb: dwc3: depend on both Host and Gadget stacks 2011-12-12 11:48:14 +02:00
Makefile usb: dwc3: always compile gadget side too 2011-12-12 11:48:13 +02:00