Alan Stern 93c8bf45e0 USB core: don't match interface descriptors for vendor-specific devices
This patch (as804) makes USB driver matching ignore the interface
class, subclass, and protocol if the device class is Vendor Specific.
Drivers can override this policy by specifying a Vendor ID as part
of the match; then vendor-specific matches are allowed.

Linus Walleij has reported a problem this patch fixes.  When a
particular mass-storage device is switched from mass-storage mode to
Media Transfer Protocol, the interface class remains set to mass-storage
and usb-storage binds to it erroneously, even though the device class
changes to Vendor-Specific.

This may cause a problem for some drivers until their match records can
be updated to include Vendor IDs.  But if it does, then those records
were broken to begin with.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-01 14:23:27 -08:00
..
2006-11-03 12:27:57 -08:00
2006-10-11 11:14:25 -07:00
2006-11-20 13:06:19 -08:00
2006-10-03 22:31:37 +02:00
2006-10-17 08:18:42 -07:00
2006-11-03 12:27:58 -08:00
2006-11-16 14:30:26 -08:00
2006-10-17 08:18:42 -07:00
2006-08-10 07:31:37 -04:00