usb-storage: Don't bind to uas devices if the uas driver is enabled
authorHans de Goede <hdegoede@redhat.com>
Mon, 21 Oct 2013 08:40:48 +0000 (09:40 +0100)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 4 Mar 2014 23:38:16 +0000 (15:38 -0800)
commit5bfd5b5d8b9cd9e8ba1709f2b9dc35bd4b26c8b1
tree0975e57fc8101603ced7a1d5ec3a1a21cca1335a
parent79b4c06112f12c31d03cf22b1ed5ce09423fd887
usb-storage: Don't bind to uas devices if the uas driver is enabled

uas devices have 2 alternative settings on their usb-storage interface,
one for usb-storage and one for uas. Using the uas driver is preferred, so if
the uas driver is enabled, and the device has an uas alt setting, don't bind.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/storage/unusual_devs.h
drivers/usb/storage/usb.c