From 9f2e6eef79db50151a32bd90288740060d3ca2b4 Mon Sep 17 00:00:00 2001 From: kamkow1 Date: Thu, 26 Mar 2026 19:20:08 +0100 Subject: [PATCH] XHCI do not check for CSC bit in xhci_reset_ports () --- kernel/device/xhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/device/xhci.c b/kernel/device/xhci.c index 859c9ce..f46d672 100644 --- a/kernel/device/xhci.c +++ b/kernel/device/xhci.c @@ -399,7 +399,7 @@ static void xhci_reset_ports (struct xhci* xhci) { uint32_t portsc = xhci_portsc_read (xhci, port); - if ((portsc & (1 << 17)) && (portsc & (1 << 0))) { + if ((portsc & (1 << 0))) { DEBUG ("Device connected. resetting\n"); xhci_port_reset (xhci, port); }