USB: Fix up full-speed bInterval values in high-speed interrupt descriptor
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Tue, 12 Jun 2007 19:47:17 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:37 +0000 (16:34 -0700)
commit300871cd963e24a68aaa9b762f4a10403697d9be
tree2ef076a36b077e15a7a6d65a32703c89685bbcfa
parent87d093e25d73249ae92b28ae88db92eaea7df70f
USB: Fix up full-speed bInterval values in high-speed interrupt descriptor

Many device manufacturers are using full-speed bInterval values in high-speed
interrupt endpoint descriptors. If the bInterval value is greater than 16,
assume the device uses full-speed descriptors and fix the value accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/config.c