u-boot/drivers/usb
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
..
eth net: usb: Add SMSC copyright to smsc95xx driver 2014-09-16 12:23:59 -04:00
gadget cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
host usb: ehci: poll_int_queue check real qtd, not the overlay 2014-10-06 14:50:42 +02:00
musb usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
musb-new kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
phy usb: phy: omap_usb_phy: implement usb_phy_power() for AM437x 2014-07-09 22:11:51 +02:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00