linux/drivers/usb/dwc3
Felipe Balbi 5c81ababec usb: dwc3: ep0: prevent starting transfers twice on ep0
In case we try to start an invalid test mode, we
will call dwc3_ep0_stall_and_restart() but we will
also call dwc3_ep0_out_start() which will start
a second transfer on ep0.

Let's prevent any problems by returning early in
the error case.

Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-06-25 19:30:49 +03:00
..
core.c USB: DWC3: Issue device soft reset before core soft reset 2012-06-22 13:22:46 +03:00
core.h usb: dwc3: rename res_trans_idx to resource_index 2012-06-25 14:00:45 +03:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: debugfs: fix off by one when entering testmode 2012-02-10 12:14:53 +02:00
dwc3-exynos.c usb: dwc3: Remove duplicate header file inclusion 2012-06-22 13:21:43 +03:00
dwc3-omap.c usb: dwc3: omap: add dwc3_omap_readl/writel functions 2012-04-24 15:37:01 +03:00
dwc3-pci.c USB merge for 3.4-rc1 2012-03-20 11:26:30 -07:00
ep0.c usb: dwc3: ep0: prevent starting transfers twice on ep0 2012-06-25 19:30:49 +03:00
gadget.c usb: dwc3: gadget: remove duplicated code from __dwc3_gadget_ep_set_halt 2012-06-25 17:09:28 +03:00
gadget.h usb: dwc3: add definitions for new registers 2012-06-03 23:08:21 +03:00
host.c usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
io.h usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
Kconfig usb: dwc3: Fix the dwc3 dependency 2012-05-11 15:17:31 -07:00
Makefile usb: dwc3: Add Exynos Specific Glue layer 2012-03-02 12:11:28 +02:00