xhci: fix port BESL LPM capability checking
authorMathias Nyman <mathias.nyman@linux.intel.com>
Wed, 21 Aug 2013 15:50:09 +0000 (18:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:21:37 +0000 (17:21 -0700)
commit1783b401e4add34045e15ffb2b901c1cbd8d4930
treeb2116e150ef9592fa2beeb8ccc4a2370ce7d495b
parent4a73a6d159fb3c6606c2145956cffe6f01e73fb7
xhci: fix port BESL LPM capability checking

commit dcf06a036848b4e8e6c8220f2e00b9adf6f84918 upstream.

Wrong capability bit was checked for best effort service latency.
bit 20 indicate port is BESL LPM capable (BLC),
bit 19 is hardware LPM capable (HLC)

This patch should be backported to kernels as old as 3.11, that
contain the commit a558ccdcc71c7770c5e80c926a31cfe8a3892a09 "usb: xhci:
add USB2 Link power management BESL support"

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reported-by: Steve Cotton <steve@s.cotton.clara.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ext-caps.h