]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 3b3649d88c5f00281123975a931f3ecd52a14289..0ed683c176f022ef0f14a8a3eeacf64c848b2604 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: