USB: EHCI: merge all cases that disable the IO watchdog
authorLucas Stach <dev@lynxeye.de>
Sat, 22 Oct 2016 23:02:03 +0000 (01:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 12:36:25 +0000 (14:36 +0200)
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>
drivers/usb/host/ehci-pci.c

index 0ed683c176f022ef0f14a8a3eeacf64c848b2604..93326974ff4b3ac3ec413ceda9d6cfa54cca0046 100644 (file)
@@ -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;