commit | b3dc42216750647f6ef842fa40dafe1a1cb75034 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Thu May 29 14:53:01 2014 -0600 |
committer | Marek Vasut <marex@denx.de> | Sun Jun 01 19:22:40 2014 +0200 |
tree | f292c70f5b989e8b842cb3060ef80e17874276db | |
parent | 62237cf6134e606a597896d82bf080d348494e4e [diff] |
usb: ci_udc: use a single descriptor for ep0 ci_udc currently points ep->desc at separate descriptors for IN and OUT. These descriptors only differ in the ep address IN/OUT field. Modify the code to use a single descriptor, and change that descriptor's ep address to indicate IN/OUT as required. This removes some data duplication. Signed-off-by: Stephen Warren <swarren@nvidia.com>