xhci: use usb_ss_max_streams in xhci_check_streams_endpoint
authorHans de Goede <hdegoede@redhat.com>
Fri, 4 Oct 2013 15:05:55 +0000 (17:05 +0200)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 4 Mar 2014 23:38:02 +0000 (15:38 -0800)
commita3901538611f8d5180df44f5b61293e70903958f
treefe7c07d6f2b47f6025f00d6a8ecc92af8f6677c4
parent9aad95e292f58d00aa0f2e30c7f7dafd7fc7491c
xhci: use usb_ss_max_streams in xhci_check_streams_endpoint

The ss_ep_comp bmAttributes filed can contain more info then just the
streams, use usb_ss_max_streams to properly get max streams.

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