mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user