u-boot/drivers/usb
Harald Welte e73b5212e0 fix USB devices with multiple configurations
This patch fixes bugs in usbdcore*.c related to the use of devices
with multiple configurations.

The original code made mistakes about the meaning of configuration value and
configuration index, and the resulting off-by-one errors resulted in:

* SET_CONFIGURATION always selected the first configuration, no matter what
  wValue is being passed.
* GET_DESCRIPTOR/CONFIGURATION always returned the descriptor for the first
  configuration (index 0).

Signed-off-by: Harald Welte <laforge@openmoko.org>
Acked-by: Markus Klotzbuecher <mk@denx.de>
2008-07-10 11:51:52 +02:00
..
isp116x-hcd.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
isp116x.h drivers/usb : move usb drivers to drivers/usb 2007-11-25 23:27:38 +01:00
Makefile Big white-space cleanup. 2008-05-21 00:14:08 +02:00
sl811.h drivers/usb : move usb drivers to drivers/usb 2007-11-25 23:27:38 +01:00
sl811_usb.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
usb_ohci.c Fix endianess conversion in usb_ohci.c 2008-05-22 17:14:17 +02:00
usb_ohci.h drivers/usb : move usb drivers to drivers/usb 2007-11-25 23:27:38 +01:00
usbdcore.c fix USB devices with multiple configurations 2008-07-10 11:51:52 +02:00
usbdcore_ep0.c fix USB devices with multiple configurations 2008-07-10 11:51:52 +02:00
usbdcore_mpc8xx.c fix comments with new drivers organization 2008-01-09 21:48:49 +01:00
usbdcore_omap1510.c drivers/usb : move usb drivers to drivers/usb 2007-11-25 23:27:38 +01:00