Re: [PATCH] xhci: Disable streams on Via XHCI with device-id 0x3432

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

 



On Mon, Aug 25, 2014 at 12:21:56PM +0200, Hans de Goede wrote:
> This is a bit bigger hammer then I would like to use for this, but for now
> it will have to make do. I'm working on getting my hands on one of these so
> that I can try to get streams to work (with a quirk flag if necessary) and
> then we can re-enable them.
> 
> For now this at least makes uas capable disk enclosures work again by forcing
> fallback to the usb-storage driver.
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=79511
> 
> Cc: stable@xxxxxxxxxxxxxxx # 3.15
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> ---
>  drivers/usb/host/xhci-pci.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
> index 687d366..d973682 100644
> --- a/drivers/usb/host/xhci-pci.c
> +++ b/drivers/usb/host/xhci-pci.c
> @@ -151,6 +151,11 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
>  	if (pdev->vendor == PCI_VENDOR_ID_VIA)
>  		xhci->quirks |= XHCI_RESET_ON_RESUME;
>  
> +	/* See https://bugzilla.kernel.org/show_bug.cgi?id=79511 */
> +	if (pdev->vendor == PCI_VENDOR_ID_VIA &&
> +			pdev->device == 0x3432)
> +		xhci->quirks |= XHCI_BROKEN_STREAMS;
> +
>  	if (xhci->quirks & XHCI_RESET_ON_RESUME)
>  		xhci_dbg_trace(xhci, trace_xhci_dbg_quirks,
>  				"QUIRK: Resetting on resume");

That's harsh :)

Do you want this in 3.17-final?

thanks,

greg k-h
--
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