2018-06-27 17:16:09

by Guy Chronister

[permalink] [raw]
Subject: [PATCH] Fixed typo on USB device ID number.

Signed-off-by: Guy Chronister <[email protected]>
---
drivers/usb/host/xhci-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 6372edf..6ec766b 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -196,7 +196,7 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
xhci->quirks |= XHCI_BROKEN_STREAMS;
}
if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
- pdev->device == 0x0014) {
+ pdev->device == 0x0015) {
xhci->quirks |= XHCI_TRUST_TX_LENGTH;
xhci->quirks |= XHCI_ZERO_64B_REGS;
}
--
2.7.4



2018-06-27 22:23:26

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] Fixed typo on USB device ID number.

On Wed, Jun 27, 2018 at 11:04:27AM -0500, Guy Chronister wrote:
> Signed-off-by: Guy Chronister <[email protected]>

I can't take patches without any changelog text at all, sorry.


> ---
> drivers/usb/host/xhci-pci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
> index 6372edf..6ec766b 100644
> --- a/drivers/usb/host/xhci-pci.c
> +++ b/drivers/usb/host/xhci-pci.c
> @@ -196,7 +196,7 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
> xhci->quirks |= XHCI_BROKEN_STREAMS;
> }
> if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
> - pdev->device == 0x0014) {
> + pdev->device == 0x0015) {

Why do you think that 14 is not the valid number here?

Why is 15 the valid number?

thanks,

greg k-h