Skip to content

Commit 1604ba5

Browse files
author
Desnes Nunes
committed
xhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS
JIRA: https://issues.redhat.com/browse/RHEL-116007 commit cd65ee8 Author: Hongyu Xie <xiehongyu1@kylinos.cn> Date: Fri, 27 Jun 2025 17:41:20 +0300 Disable stream for platform xHC controller with broken stream. Fixes: 14aec58 ("storage: accept some UAS devices if streams are unavailable") Cc: stable <stable@kernel.org> Signed-off-by: Hongyu Xie <xiehongyu1@kylinos.cn> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20250627144127.3889714-3-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Desnes Nunes <desnesn@redhat.com>
1 parent 3f96caa commit 1604ba5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/host/xhci-plat.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const s
328328
}
329329

330330
usb3_hcd = xhci_get_usb3_hcd(xhci);
331-
if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4)
331+
if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4 &&
332+
!(xhci->quirks & XHCI_BROKEN_STREAMS))
332333
usb3_hcd->can_do_streams = 1;
333334

334335
if (xhci->shared_hcd) {

0 commit comments

Comments
 (0)