usb: Add quirk detection based on interface information
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 19 Jul 2012 10:39:13 +0000 (12:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 22:44:58 +0000 (15:44 -0700)
commit80da2e0df5af700518611b7d1cc4fc9945bcaf95
treec914e555d34b2339c49bd3f29ef5268b642664f5
parent66177cc10295ffdfc613c06f59b07a577d91ee82
usb: Add quirk detection based on interface information

When a whole class of devices (possibly from a specific vendor, or
across multiple vendors) require a quirk, explictly listing all devices
in the class make the quirks table unnecessarily large. Fix this by
allowing matching devices based on interface information.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/driver.c
drivers/usb/core/hub.c
drivers/usb/core/quirks.c
drivers/usb/core/usb.h