commit | 6667e23e8767231262fed9cd0763dbf3d8381954 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Jul 01 11:41:14 2014 -0600 |
committer | Marek Vasut <marex@denx.de> | Wed Jul 02 15:45:38 2014 +0200 |
tree | 08019616da2596f92fbcefb1c6f7039cfde12d90 | |
parent | bec1c13a7423fdaa42e37dac2418d3313bec3bef [diff] |
usb: ci_udc: don't assume QTDs are adjacent when transmitting ZLPs Fix ci_ep_submit_next_request()'s ZLP transmission code to explicitly call ci_get_qtd() to find the address of the other QTD to use. This will allow us to correctly align each QTD individually in the future, which may involve leaving a gap between the QTDs. Signed-off-by: Stephen Warren <swarren@nvidia.com>