Revert "xhci: Turn NEC specific quirk for handling Stop Endpoint errors generic"

This reverts commit 116b937eb4 which is
commit e21ebe51af688eb98fd6269240212a3c7300deea upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I684724b541eb4fe3959ef02b8ba32a28f98fbe3b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2025-01-11 07:04:34 +00:00
parent 4ff68760c1
commit 0ab35d883a

View File

@@ -1178,6 +1178,8 @@ static void xhci_handle_cmd_stop_ep(struct xhci_hcd *xhci, int slot_id,
* Keep retrying until the EP starts and stops again, on
* chips where this is known to help. Wait for 100ms.
*/
if (!(xhci->quirks & XHCI_NEC_HOST))
break;
if (time_is_before_jiffies(ep->stop_time + msecs_to_jiffies(100)))
break;
fallthrough;