There where 2 different places settings quirks for Renesas uPD720202. Now they are together. Signed-off-by: Rodrigo Severo <rodrigo@xxxxxxxxxxxxxxxxxxx> --- drivers/usb/host/xhci-pci.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 3ce248a..75ad785 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -154,9 +154,13 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) xhci->quirks |= XHCI_TRUST_TX_LENGTH; xhci->quirks |= XHCI_BROKEN_STREAMS; } + if (pdev->vendor == PCI_VENDOR_ID_RENESAS && - pdev->device == PCI_DEVICE_ID_RENESAS_UPD720202) + pdev->device == PCI_DEVICE_ID_RENESAS_UPD720202) { xhci->quirks |= XHCI_RESET_ON_RESUME; + xhci->quirks |= XHCI_TRUST_TX_LENGTH; + } + if (pdev->vendor == PCI_VENDOR_ID_VIA) xhci->quirks |= XHCI_RESET_ON_RESUME; @@ -176,8 +180,7 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) } if (pdev->vendor == PCI_VENDOR_ID_RENESAS && - (pdev->device == PCI_DEVICE_ID_RENESAS_UPD720201 || - pdev->device == PCI_DEVICE_ID_RENESAS_UPD720202)) + pdev->device == PCI_DEVICE_ID_RENESAS_UPD720201) xhci->quirks |= XHCI_TRUST_TX_LENGTH; if (xhci->quirks & XHCI_RESET_ON_RESUME) -- 2.1.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