summaryrefslogtreecommitdiff
path: root/include/watchdog.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-05-13 10:51:54 -0600
committerMarek Vasut <marex@denx.de>2014-05-15 00:21:30 +0200
commit8630c1c7e395e946ca6f98e2500e86e14f2c56bb (patch)
tree636714494b1942d089684233d0991068b8026ef5 /include/watchdog.h
parenta4539a2aa7bde003d4318b1b2e21fd217cc2899f (diff)
downloadu-boot-imx-8630c1c7e395e946ca6f98e2500e86e14f2c56bb.zip
u-boot-imx-8630c1c7e395e946ca6f98e2500e86e14f2c56bb.tar.gz
u-boot-imx-8630c1c7e395e946ca6f98e2500e86e14f2c56bb.tar.bz2
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: 2813006fecda ("usb: ci_udc: allow multiple buffer allocs per ep") Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include/watchdog.h')
0 files changed, 0 insertions, 0 deletions