mirror of https://gitee.com/openkylin/linux.git
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:
parent
a4e6a8524f
commit
5c2ad982fb
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue