Skip to contentSkip to conversation

usb: xhci: tegra: enable stream protocol support

PATCH New Jim Lin 1 participant 1 message May 12, 2023

Subsystems (3)
lore
Share & tools
lore

Jim Lin

author
#0 lore raw

PATCH 1/1 usb: xhci: tegra: enable stream protocol support

From: Henry Lin <[email protected]>

This commit enables stream transfer protocol for Tegra XHCI.

---

 drivers/usb/host/xhci-tegra.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/usb/host/xhci-tegra.c +3 -0
index c75d93244143..ea55e401c70e 100644
@@ -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);
Signature · 1 line
2.17.1