u-boot/drivers/usb
Hans de Goede 44dbc33056 usb: ohci: Do not reuse ed for interrupt endpoints of different devices
When submitting interrupt packets to an endpoint we only link in the ed
once to avoid some races surrounding unlinking of periodic endpoints,
but we share one ohci_device struct / one set of ed-s for all devices,
which means that if we have an interrupt endpoint at endpoint 1 with one
device, and a non interrupt endpoint 1 with another device we end up
with the same ed linked into both the periodic and async lists, which is
not good (tm).

This commit switches over to using separate ohci_device structs, and thus
separate ed-s for devices with interrupt endpoints, fixing this.

This fixes e.g. matching a usb storage device and keyboard on the same
usb-1 hub not working.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Marek Vasut <marex@denx.de>
2015-05-14 18:49:35 -06:00
..
dwc3 usb: dwc3: Correct clean up code for requests 2015-04-14 05:48:12 +02:00
emul dm: usb: Add a terminator to the string destructor list 2015-04-22 11:13:24 -06:00
eth net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
gadget net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
host usb: ohci: Do not reuse ed for interrupt endpoints of different devices 2015-05-14 18:49:35 -06:00
musb include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
musb-new sunxi: usb: Do not call phy_probe from hcd code 2015-05-04 16:51:55 +02:00
phy ti: dwc3: Enable clocks in enable_basic_clocks() in hw_data.c 2015-04-16 15:08:36 -04:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
Kconfig dm: usb: sandbox: Add a uclass for USB device emulation 2015-04-18 11:11:26 -06:00