]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit728df4bb69a297a2a3c833c3b68f262550020f43
tree89d5e181be3781fa1b7800b194e28f10c8ff762c
parent1156b796a4acd1ff3d471044ec990879a197e86d
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