diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2015-03-03 17:32:15 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:48:12 +0200 |
commit | 3621b3b8a71699728c45920d7019d6da0adb034b (patch) | |
tree | d026af7ee66f42bb9637b1a85959c76e6674bb7e /fs/reiserfs/Makefile | |
parent | afa093bfa782f1cc8fc1bf4df01841e3167df9b1 (diff) | |
download | u-boot-3621b3b8a71699728c45920d7019d6da0adb034b.zip u-boot-3621b3b8a71699728c45920d7019d6da0adb034b.tar.gz u-boot-3621b3b8a71699728c45920d7019d6da0adb034b.tar.bz2 |
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>
Diffstat (limited to 'fs/reiserfs/Makefile')
0 files changed, 0 insertions, 0 deletions