u-boot-brain/drivers/usb
Stephen Warren 8630c1c7e3 usb: ci_udc: parse QTD before over-writing it
ci_udc only allocates a single QTD structure per EP. All data needs to be
extracted from the DTD prior to calling ci_ep_submit_next_request(), since
that fills the QTD with next transaction's parameters. Fix
handle_ep_complete() to extract the transaction (remaining) length before
kicking off the next transaction.

In practice, this only causes writes to UMS devices to fail for me. I may
have tested the final versions of my previous ci_udc patch only with
reads. More recently, I had patches applied locally that allocated a QTD
per USB request rather than per USB EP, although since that doesn't give
any performance benefit, I'm dropping those.

Fixes: 2813006fec ("usb: ci_udc: allow multiple buffer allocs per ep")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
2014-05-15 00:21:30 +02:00
..
eth usb: net: introduce support for Moschip USB ethernet 2014-03-12 17:04:31 -04:00
gadget usb: ci_udc: parse QTD before over-writing it 2014-05-15 00:21:30 +02:00
host usb: tegra: support device mode 2014-05-15 00:21:17 +02:00
musb usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
musb-new musb-new, dfu: first send request answer then call completions 2014-05-08 10:38:30 +02:00
phy drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00