浏览代码

USB: EHCI: merge all cases that disable the IO watchdog

This merges the vendor NEC case with the INTEL and AMD one,
as those 3 do exactly the same thing: disabling of the IO
watchdog.

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 年之前
父节点
当前提交
629dd21988
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/usb/host/ehci-pci.c

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

@@ -258,8 +258,6 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
 	/* These workarounds need to be applied after ehci_setup() */
 	switch (pdev->vendor) {
 	case PCI_VENDOR_ID_NEC:
-		ehci->need_io_watchdog = 0;
-		break;
 	case PCI_VENDOR_ID_INTEL:
 	case PCI_VENDOR_ID_AMD:
 		ehci->need_io_watchdog = 0;