u-boot/drivers
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
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block ahci: Fix data abort on multiple scsi resets. 2014-04-02 15:44:40 -04:00
bootcount i2c, bootcount: add support for bootcounter on i2c devices 2014-02-20 06:46:56 +01:00
core dm: rename device struct to udevice 2014-05-27 10:21:32 -04:00
crypto drivers: crypto: ace_sha: add implementation of hardware based lib rand 2014-03-28 15:06:31 -04:00
ddr/fsl Add cli_ prefix to readline functions 2014-05-29 17:45:31 -04:00
demo dm: rename device struct to udevice 2014-05-27 10:21:32 -04:00
dfu dfu: Introduction of the "dfu_hash_algo" env variable for checksum method setting 2014-06-01 19:18:00 +02:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga fpga: Added support to load bit stream from SD/MMC 2014-05-20 15:23:46 +02:00
gpio Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-05-30 11:34:39 -04:00
hwmon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
i2c mvtwsi: Remove unnecessary twsi_baud_rate and twsi_slave_address globals 2014-05-14 12:59:12 +02:00
input cros_ec: Support systems with no EC interrupt 2014-03-17 20:05:46 -06:00
misc driver/fsl_ifc: Add a function to finalize CS0 address binding 2014-04-22 17:58:47 -07:00
mmc mmc: atmel_mci: fix print incorrect buffer content for debug 2014-05-27 00:10:46 +02:00
mtd mtd: nand: omap_gpmc: Fix update of read_ecc in oob 2014-05-13 19:48:17 -04:00
net net/designware: Make DMA burst length configurable and reduce by default 2014-05-25 17:23:58 +02:00
pci fsl/pci: Add workaround for erratum A-005434 2014-05-16 16:24:26 -05:00
pcmcia powerpc: remove RPXClassic, RPXlite boards support 2014-04-18 10:42:30 -04:00
power Merge remote-tracking branch 'u-boot/master' 2014-05-20 10:05:42 +02:00
qe qe: disable qe when qe-ucode fails to be uploaded for "deep sleep" 2014-05-13 08:26:56 -07:00
rtc kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
serial serial: nsl16550: add hw flow control support 2014-05-12 15:19:45 -04:00
sound sound: Move Samsung-specific code into its own file 2014-03-17 20:05:49 -06:00
spi Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' 2014-04-21 21:01:35 +02:00
tpm sandbox: tpm: Fix nvwrite command 2014-01-08 17:26:17 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: ci_udc: pre-allocate ep0 req 2014-06-01 19:22:40 +02:00
video Merge remote-tracking branch 'u-boot/master' 2014-05-20 10:05:42 +02:00
watchdog Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
Makefile drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00