summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlek Du <alek.du@intel.com>2010-09-06 14:50:57 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 16:04:59 -0700
commitfc9282506114d4be188a464af2d373db31dd781c (patch)
tree871aba29e4c8cfadae3591c4d4d67145e9881286 /drivers/usb
parent024cfa5943a7e89565c60b612d698c2bfb3da66a (diff)
downloadop-kernel-dev-fc9282506114d4be188a464af2d373db31dd781c.zip
op-kernel-dev-fc9282506114d4be188a464af2d373db31dd781c.tar.gz
USB: EHCI: Disable langwell/penwell LPM capability
We have to do so due to HW limitation. Signed-off-by: Alek Du <alek.du@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-pci.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index 58b72d7..a1e8d27 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -119,6 +119,11 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
ehci->broken_periodic = 1;
ehci_info(ehci, "using broken periodic workaround\n");
}
+ if (pdev->device == 0x0806 || pdev->device == 0x0811
+ || pdev->device == 0x0829) {
+ ehci_info(ehci, "disable lpm for langwell/penwell\n");
+ ehci->has_lpm = 0;
+ }
break;
case PCI_VENDOR_ID_TDI:
if (pdev->device == PCI_DEVICE_ID_TDI_EHCI) {
OpenPOWER on IntegriCloud