summaryrefslogtreecommitdiff
path: root/include/configs/ipek01.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2015-09-11 23:10:02 (GMT)
committerMarek Vasut <marex@denx.de>2015-09-12 18:24:42 (GMT)
commitb337b3b2a53f112a217f4bd31307b02f830bb787 (patch)
treebb961f0ce1ce55fcdcb30664521e3b3baaae382e /include/configs/ipek01.h
parent70eaeb03c1fc173b1a7c11ad627d8cc8bbfe3e6c (diff)
downloadu-boot-b337b3b2a53f112a217f4bd31307b02f830bb787.tar.xz
usb: ci_udc: fix emissions of ZLPs
Commit 6a132416359e "ci_udc: Update the ci_udc driver to support bulk transfers" caused the value of "len" to change without updating subsquent users of that variable in ci_ep_submit_next_request(). This caused the code that detects when to emit ZLPs (Zero Length Packets) never to trigger, which in turn caused host timeouts when a ZLP was required, which in turn broke tests/dfu/, even despite the assertion in that commit's description that "These changes are tested for both the DFU and lthor." Fix this by modifying the added dtd iteration code not to modify "len", but rather to keep state in a separate variable. Rename the variables while we're at it so they describe their purpose better. Fixes: 6a132416359e ("ci_udc: Update the ci_udc driver to support bulk transfers") Cc: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include/configs/ipek01.h')
0 files changed, 0 insertions, 0 deletions