linux/drivers/usb/dwc3
Felipe Balbi 7a42d83536 usb: dwc3: ep0: only change to ADDRESS if set_config() succeeds
In case we're switching back to USB_STATE_ADDRESS
from USB_STATE_CONFIGURED (if host sends
a set configuration command for configuration
zero), we should only switch if the request
is successfully processed by the gadget driver.

Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-07-29 13:57:03 +03:00
..
core.c usb: dwc3: core: introduce and use macros for Event Size register 2013-07-29 13:56:58 +03:00
core.h usb: dwc3: fix typo in comment of dwc3_ep 2013-07-29 13:57:01 +03:00
debug.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-omap.c usb: dwc3: omap: switch over to devm_ioremap_resource() 2013-07-29 13:56:53 +03:00
dwc3-pci.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
ep0.c usb: dwc3: ep0: only change to ADDRESS if set_config() succeeds 2013-07-29 13:57:03 +03:00
gadget.c usb: dwc3: gadget: introduce dwc3_process_event_buf 2013-07-29 13:57:01 +03:00
gadget.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
host.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
io.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
Kconfig usb: dwc3: make glue layers selectable 2013-07-29 13:53:25 +03:00
Makefile usb: dwc3: make glue layers selectable 2013-07-29 13:53:25 +03:00
platform_data.h usb: dwc3: adapt to use dr_mode device tree helper 2013-07-29 13:56:51 +03:00