commit | a9e91dab5c1167187fefa39a6fbdb12c189c60d8 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Jun 10 15:27:39 2014 -0600 |
committer | Marek Vasut <marex@denx.de> | Wed Jun 11 02:26:05 2014 +0200 |
tree | a3e33a98fefb69486c3f7ac4fd7a6b361a8d3366 | |
parent | 9c7ebe7683f69dabe1cabd871a6957b1fe3d30b4 [diff] |
usb: ci_udc: terminate ep0 INs with a zlp when required Sometimes, a zero-length packet is required at the end of an IN transaction so that the host knows the device is done sending data. Enhance ci_udc to send a zlp when necessary. See the comments for more details. Signed-off-by: Stephen Warren <swarren@nvidia.com>