USB: EHCI: elide I/O watchdog on AMD parts

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>
This commit is contained in:
Lucas Stach 2016-10-23 01:02:02 +02:00 committed by Greg Kroah-Hartman
parent a4e6a8524f
commit 5c2ad982fb
1 changed files with 1 additions and 0 deletions

View 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: