]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 27 Aug 2013 15:54:42 +0000 (08:54 -0700)
commitbe658587198bc5fa5995126230fc0167f575245c
treeab2e77d31bc557058b97d274f1111ae253c3d4dd
parent56496483e5ded5ab137621ae33be2ebbffe2ef4b
xhci: fix port BESL LPM capability checking

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 4d9b8ae72c9ac2c82dc8ef6826ca65f2b0bf24e1 "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>
Cc: stable@vger.kernel.org
drivers/usb/host/xhci-ext-caps.h