USB: EHCI: elide I/O watchdog on AMD parts
authorLucas Stach <dev@lynxeye.de>
Sat, 22 Oct 2016 23:02:02 +0000 (01:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 12:36:25 +0000 (14:36 +0200)
This removes 10 timer wakeups per second. I'm running this patch for
a while now and haven't spotted any adverse effects.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-pci.c

index 3b3649d..0ed683c 100644 (file)
@@ -261,6 +261,7 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
                ehci->need_io_watchdog = 0;
                break;
        case PCI_VENDOR_ID_INTEL:
+       case PCI_VENDOR_ID_AMD:
                ehci->need_io_watchdog = 0;
                break;
        case PCI_VENDOR_ID_NVIDIA: