projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
424e029
)
usb: xhci: tegra: enable stream protocol support
author
Henry Lin
<henryl@nvidia.com>
Fri, 12 May 2023 08:04:23 +0000
(16:04 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 13 May 2023 09:05:53 +0000
(18:05 +0900)
This commit enables stream transfer protocol for Tegra XHCI.
Signed-off-by: Henry Lin <henryl@nvidia.com>
Signed-off-by: Jim Lin <jilin@nvidia.com>
Link:
https://lore.kernel.org/r/20230512080423.27978-1-jilin@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-tegra.c
b/drivers/usb/host/xhci-tegra.c
index 8a9c7deb7686e9cc654a2788c080b191fe105692..393e2c8064bd7bc10abc35fa65bf7e53cd3b5800 100644
(file)
--- 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);