diff options
author | Henry Lin <henryl@nvidia.com> | 2023-05-12 16:04:23 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-13 18:05:53 +0900 |
commit | 397376765249555800749d012b301609c62ae963 (patch) | |
tree | b0006bb22bc5a5493909e63932df8719d935ae7b /drivers/usb/host | |
parent | 424e02931e2bad6f8c442fd3d548379123bf1b13 (diff) | |
download | linux-stable-397376765249555800749d012b301609c62ae963.tar.gz linux-stable-397376765249555800749d012b301609c62ae963.tar.bz2 linux-stable-397376765249555800749d012b301609c62ae963.zip |
usb: xhci: tegra: enable stream protocol support
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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/xhci-tegra.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c index 8a9c7deb7686..393e2c8064bd 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); |