Просмотр исходного кода

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>
Lucas Stach 9 лет назад
Родитель
Сommit
5c2ad982fb
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      drivers/usb/host/ehci-pci.c

+ 1 - 0
drivers/usb/host/ehci-pci.c

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