u-boot-brain/drivers
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
..
bios_emulator Big white-space cleanup. 2008-05-21 00:14:08 +02:00
block sata: wait for device updating signature to host 2008-06-30 22:13:47 +02:00
dma Big white-space cleanup. 2008-05-21 00:14:08 +02:00
hwmon DTT: Issue one-shot command on AD7414 (LM75 code) to read temp 2008-06-03 21:00:00 +02:00
i2c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
input TQM8548: Basic support for the TQM8548 modules 2008-06-11 00:01:43 -05:00
misc FSL LAW: Add new interface to use the last free LAW 2008-06-11 01:53:09 -05:00
mmc mmc: Move atmel_mci driver into drivers/mmc 2008-07-10 00:05:52 +02:00
mtd MTD/NAND: Fix printf format warning in nand code 2008-07-10 10:46:13 +02:00
net e1000: add support for 82545GM 64bit PCI-X copper variant 2008-07-10 00:52:48 +02:00
pci pci: Move PCI device configuration check into a separate weak function 2008-07-10 10:10:32 +02:00
pcmcia pcmcia/ti_pci1410a: Move compile condition to the Makefile 2008-06-26 17:04:25 +02:00
qe Big white-space cleanup. 2008-05-21 00:14:08 +02:00
rtc rtc: Fix printf format warning in m41t60.c 2008-07-10 10:17:33 +02:00
serial Round the serial port clock divisor value returned by calc_divisor() 2008-07-10 00:48:31 +02:00
spi Move conditional compilation of MPC8XXX SPI driver to Makefile 2008-07-01 21:02:11 +02:00
usb fix USB devices with multiple configurations 2008-07-10 11:51:52 +02:00
video Merging Stelian Pop AT91 patches 2008-05-24 12:56:53 +02:00