u-boot-brain/drivers/usb
Stephen Warren a2d8f92985 usb: ci_udc: pre-allocate ep0 req
Allocate ep0's USB request object when the UDC driver is probed. This
solves a couple of issues in the current code:

a) A request object always exists for ep0. Prior to this patch, if setup
transactions arrived in an unexpected order, handle_setup() would need
to reply to a setup transaction before any ep0 usb_req was created.

This issue was introduced in commit 2813006fec "usb: ci_udc: allow
multiple buffer allocs per ep."

b) handle_ep_complete no longer /has/ to queue the ep0 request again
after every single request completion. This is currently required, since
handle_setup() assumes it can find some request object in ep0's request
queue. This patch doesn't actually stop handle_ep_complete() from always
requeueing the request, but the next patch will.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
2014-06-01 19:22:40 +02:00
..
eth usb: net: introduce support for Moschip USB ethernet 2014-03-12 17:04:31 -04:00
gadget usb: ci_udc: pre-allocate ep0 req 2014-06-01 19:22:40 +02:00
host Merge branch 'u-boot-microblaze/zynq' into 'u-boot-arm/master' 2014-05-23 22:50:23 +02:00
musb usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
musb-new musb-new, dfu: first send request answer then call completions 2014-05-08 10:38:30 +02:00
phy drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00