[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230512080423.27978-1-jilin@nvidia.com>
Date: Fri, 12 May 2023 16:04:23 +0800
From: Jim Lin <jilin@...dia.com>
To: <gregkh@...uxfoundation.org>
CC: <mathias.nyman@...el.com>, <thierry.reding@...il.com>,
<jonathanh@...dia.com>, <linux-usb@...r.kernel.org>,
<linux-tegra@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Henry Lin <henryl@...dia.com>, Jim Lin <jilin@...dia.com>
Subject: [PATCH] usb: xhci: tegra: enable stream protocol support
From: Henry Lin <henryl@...dia.com>
This commit enables stream transfer protocol for Tegra XHCI.
Signed-off-by: Henry Lin <henryl@...dia.com>
Signed-off-by: Jim Lin <jilin@...dia.com>
---
drivers/usb/host/xhci-tegra.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index c75d93244143..ea55e401c70e 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -1828,6 +1828,9 @@ static int tegra_xusb_probe(struct platform_device *pdev)
goto remove_usb2;
}
+ if (HCC_MAX_PSA(xhci->hcc_params) >= 4)
+ xhci->shared_hcd->can_do_streams = 1;
+
err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED);
if (err < 0) {
dev_err(&pdev->dev, "failed to add shared HCD: %d\n", err);
--
2.17.1
Powered by blists - more mailing lists