]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbda4df867445d4c8e93b79b5c26d53b0b08810dd
tree0975e57fc8101603ced7a1d5ec3a1a21cca1335a
parent19516b5c0911eaefaaa094cd1817f3c90afb1d45
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