OSDN Git Service

storage: accept some UAS devices if streams are unavailable
authorOliver Neukum <oneukum@suse.de>
Tue, 11 Feb 2014 19:36:04 +0000 (20:36 +0100)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 4 Mar 2014 23:41:09 +0000 (15:41 -0800)
commit14aec589327a6fc4035f5327d90ac5548f501c4c
tree89d5e181be3781fa1b7800b194e28f10c8ff762c
parent21d0e51bfb290349adc02fa8fec716d77f53df51
storage: accept some UAS devices if streams are unavailable

On some older XHCIs streams are not supported and the UAS driver
will fail at probe time. For those devices storage should try
to bind to UAS devices.
This patch adds a flag for stream support to HCDs and evaluates
it.

[Note: Sarah fixed a bug where the USB 2.0 root hub, not USB 3.0 root
hub would get marked as being able to support streams.]

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci-plat.c
drivers/usb/storage/uas-detect.h
include/linux/usb/hcd.h