summaryrefslogtreecommitdiff
path: root/include/configs/CPC45.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-07-07 00:58:05 +0800
committerJohn Rigby <jrigby@freescale.com>2008-07-10 10:53:04 -0600
commitcc83b27217f7380041fea386ddb6d6d9b261617d (patch)
tree65f62ae3860b2d2b449447a5c22e2e6ad9872fcf /include/configs/CPC45.h
parent06c53beae1a726e707971c555613f09b270a2461 (diff)
downloadu-boot-imx-cc83b27217f7380041fea386ddb6d6d9b261617d.zip
u-boot-imx-cc83b27217f7380041fea386ddb6d6d9b261617d.tar.gz
u-boot-imx-cc83b27217f7380041fea386ddb6d6d9b261617d.tar.bz2
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>
Diffstat (limited to 'include/configs/CPC45.h')
0 files changed, 0 insertions, 0 deletions