Re: [PATCH 2/2] USB: EHCI: merge all cases that disable the IO watchdog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 23 Oct 2016, Lucas Stach wrote:

> 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@xxxxxxxxxx>
> ---
> v2: New patch in v2.

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

> ---
>  drivers/usb/host/ehci-pci.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
> index 0ed683c..9332697 100644
> --- a/drivers/usb/host/ehci-pci.c
> +++ b/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;
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux