summaryrefslogtreecommitdiffstats
path: root/board/espt
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-05-29 14:53:00 -0600
committerMarek Vasut <marex@denx.de>2014-06-01 19:22:39 +0200
commit7484d84cbb58e01ff1d2d458d899ea1fba012724 (patch)
tree7938f628fa83b51bff0fea23654cc5d0e622ae4b /board/espt
parent77b83e6d099cb2149e5b2c33a700003227d99297 (diff)
downloadblackbird-obmc-uboot-7484d84cbb58e01ff1d2d458d899ea1fba012724.tar.gz
blackbird-obmc-uboot-7484d84cbb58e01ff1d2d458d899ea1fba012724.zip
usb: ci_udc: detect queued requests on ep0
The flipping of ep0 between IN and OUT relies on ci_ep_queue() consuming the current IN/OUT setting immediately. If this is deferred to a later point when the req is pulled out of ci_req->queue, then the IN/OUT setting may have been changed since the req was queued, and state will get out of sync. This condition doesn't occur today, but could if bugs were introduced later, and this error-check will save a lot of debugging time. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'board/espt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud