u-boot/drivers
Hans de Goede 415548d884 usb: ehci: poll_int_queue check real qtd, not the overlay
When we first start an int queue, the qh's overlay area is all zeros. This
gets filled by the hc with the actual qtd values as soon as it advances
the queue, but we may call poll_int_queue before then, in which case we
would think the transfer has completed as the hc has not yet copied the
qt_token to the overlay, so the active flag is not set.

This fixes this by checking the actual qtd token, rather then the overlay.
This also fixes a (theoretical) race where we see the completion in the
overlay and free and re-use the qtd before the hc has completed writing back
the overlay to the actual qtd.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-10-06 14:50:42 +02:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
crypto kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
ddr/fsl driver/ddr/fsl: Fix DDR4 driver 2014-09-25 08:36:20 -07:00
demo kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
dfu kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
dma cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
fpga m68k: Fix warnings with gcc 4.6 2014-06-11 16:27:05 -04:00
gpio kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
input kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
mmc dw_mmc: cleanups 2014-10-03 17:26:50 +03:00
mtd Merge branch 'for-tom' of git://git.denx.de/u-boot-dm 2014-09-26 20:10:48 -04:00
net Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2014-09-26 09:51:18 -04:00
pci kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
pcmcia kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
power kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe net: Merge asm/fsl_enet.h into fsl_mdio.h 2014-09-08 10:30:33 -07:00
rtc kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
serial cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
tpm kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: ehci: poll_int_queue check real qtd, not the overlay 2014-10-06 14:50:42 +02:00
video kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
watchdog kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00