diff options
author | Keng-Yu Lin <kengyu@canonical.com> | 2012-08-10 01:39:23 +0800 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-09-04 15:10:00 -0700 |
commit | a96874a2a92feaef607ddd3137277a788cb927a6 (patch) | |
tree | be221e3fd0b198e135ae5c6a25cd1611b40d3e68 /drivers/usb/host/xhci.c | |
parent | 29d214576f936db627ff62afb9ef438eea18bcd2 (diff) | |
download | op-kernel-dev-a96874a2a92feaef607ddd3137277a788cb927a6.zip op-kernel-dev-a96874a2a92feaef607ddd3137277a788cb927a6.tar.gz |
Intel xhci: Only switch the switchable ports
With a previous patch to enable the EHCI/XHCI port switching, it switches
all the available ports.
The assumption is not correct because the BIOS may expect some ports
not switchable by the OS.
There are two more registers that contains the information of the switchable
and non-switchable ports.
This patch adds the checking code for the two register so that only the
switchable ports are altered.
This patch should be backported to kernels as old as 3.0, that contain
commit ID 69e848c2090aebba5698a1620604c7dccb448684 "Intel xhci: Support
EHCI/xHCI port switching."
Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/usb/host/xhci.c')
0 files changed, 0 insertions, 0 deletions