[U-Boot-Users] [PATCH] fix USB devices with multiple configurations
Wolfgang Denk
wd at denx.de
Thu Jul 10 00:11:01 CEST 2008
In message <20080706165805.GG20299 at prithivi.gnumonks.org> you wrote:
>
> 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 at openmoko.org>
Markus, are you going to add this to the USB repo any time soon?
Or you could just ACK it (if you think so) and tell me to pick up
directly.
Thanks in advance.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's all Klatchian to me.
- Terry Pratchett & Stephen Briggs, _The Discworld Companion_
More information about the U-Boot
mailing list