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>
This commit is contained in:
parent
5c2ad982fb
commit
629dd21988
|
@ -258,8 +258,6 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
|
||||||
/* These workarounds need to be applied after ehci_setup() */
|
/* These workarounds need to be applied after ehci_setup() */
|
||||||
switch (pdev->vendor) {
|
switch (pdev->vendor) {
|
||||||
case PCI_VENDOR_ID_NEC:
|
case PCI_VENDOR_ID_NEC:
|
||||||
ehci->need_io_watchdog = 0;
|
|
||||||
break;
|
|
||||||
case PCI_VENDOR_ID_INTEL:
|
case PCI_VENDOR_ID_INTEL:
|
||||||
case PCI_VENDOR_ID_AMD:
|
case PCI_VENDOR_ID_AMD:
|
||||||
ehci->need_io_watchdog = 0;
|
ehci->need_io_watchdog = 0;
|
||||||
|
|
Loading…
Reference in New Issue