summaryrefslogtreecommitdiff
path: root/drivers/rtc/pcf8563.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-07-07 00:58:05 +0800
committerWolfgang Denk <wd@denx.de>2008-07-10 11:51:52 +0200
commite73b5212e0463a3db0af0a5c95c75bfb762ca973 (patch)
tree01011b40e467bcc71a1573b556e5b73c187d7aab /drivers/rtc/pcf8563.c
parentc4b81f3238d77a4df343bd70ddfb7ebd29ca1dda (diff)
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 'drivers/rtc/pcf8563.c')
0 files changed, 0 insertions, 0 deletions