From 8decbc9c02265d68312990dffc39ed999d559e5f Mon Sep 17 00:00:00 2001 From: wangchenlu2236 Date: Thu, 22 Oct 2026 15:52:55 +0800 Subject: [PATCH] Revert "usb: xhci: Add a reset endpoint command to the specified PHYTIUM SOC" This reverts commit 005e11a63e3773754f61eb76e5a588172edb1da4. Reason for revert: Signed-off-by: Peng Yao Signed-off-by: Wang Yinfeng Signed-off-by: Wang Chenlu --- drivers/usb/host/xhci-ring.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 89a4d13d6acd..33d3582daf76 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -2345,13 +2345,6 @@ static int finish_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, td->start_seg, td->first_trb)); return 0; } -#ifdef CONFIG_ARCH_PHYTIUM - if (is_pd2408() || is_pe220x()) { - xhci_clear_hub_tt_buffer(xhci, td, ep); - xhci_handle_halted_endpoint(xhci, ep, td, EP_SOFT_RESET); - return 0; - } -#endif /* endpoint not halted, don't reset it */ break; }