commit | e0672b3c3ae4fdd48a66af9f7932d2c8e839e459 | [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 | b7c0051687f42173e15b151a74e524587e8b59db [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>