commit | 054731b09e1944cdb130b755ac0f6c188920e98a | [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 | 7484d84cbb58e01ff1d2d458d899ea1fba012724 [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>