u-boot/drivers/usb/dwc3
Lukasz Majewski 3621b3b8a7 usb: dwc3: Correct clean up code for requests
For u-boot dwc3 driver the scatter gather list support has been removed
from original linux code. It is correct, since we try to send one request
at a time.
However, the cleanup left spurious break, which caused early exit from
loop at dwc3_cleanup_done_reqs() function. As a result the dwc3_gadget_giveback()
wasn't called and caused USB Mass Storage to hang.

This commit removes this problem and refactor the code to remove superfluous
do { } while(1) loop.

Test HW: Odroid XU3 (with ./test/ums/ums_gadget_test.sh)

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2015-04-14 05:48:12 +02:00
..
core.c usb: dwc3: optimize interrupt loop 2015-04-14 05:48:12 +02:00
core.h usb: dwc3: make dwc3_set_mode to static 2015-04-14 05:48:12 +02:00
dwc3-omap.c usb: dwc3: dwc3-omap: add interrupt status API to check for interrupts 2015-04-14 05:48:10 +02:00
ep0.c usb: dwc3: Add chained TRB support for ep0 2015-04-14 05:48:10 +02:00
gadget.c usb: dwc3: Correct clean up code for requests 2015-04-14 05:48:12 +02:00
gadget.h usb: dwc3: gadget: make dwc3 gadget build in uboot 2015-04-14 05:48:09 +02:00
io.h dwc3: flush the buffers before using it 2015-04-14 05:48:10 +02:00
linux-compat.h usb: dwc3: core: make dwc3 core build in uboot 2015-04-14 05:48:09 +02:00
Makefile usb: dwc3: Makefile: Make dwc3 driver compile in u-boot 2015-04-14 05:48:10 +02:00
ti_usb_phy.c usb: dwc3: TI PHY: PHY driver for dwc3 in TI platforms 2015-04-14 05:48:10 +02:00