diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-06-10 11:02:36 -0600 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-06-11 02:26:05 +0200 |
commit | bdf81611e444e8aef21cb05eeae69f694c0c7a39 (patch) | |
tree | 50a5b14b5f2ba0faf1b37461f7527e9608a375e5 /doc/README.VLAN | |
parent | 43a8f25b6ca77894ddfd46c2b1196c7bd487561f (diff) | |
download | blackbird-obmc-uboot-bdf81611e444e8aef21cb05eeae69f694c0c7a39.tar.gz blackbird-obmc-uboot-bdf81611e444e8aef21cb05eeae69f694c0c7a39.zip |
usb: ci_udc: fix freeing of ep0 req
ci_ep_alloc_request() avoids allocating multiple request objects for ep0
by keeping a record of the first req allocated for ep0, and always
returning that instead of allocating a new req. However, if this req is
ever freed, the record of the previous allocation is not cleared, so
ci_ep_alloc_request() will keep returning this stale pointer. Fix
ci_ep_free_request() to clear the record of the previous allocation.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'doc/README.VLAN')
0 files changed, 0 insertions, 0 deletions