No need to stop XHCI endpoints in disabled state.

Some AMD XHCI implementations apparently assert a permanent
internal failure if this happens.

Submitted by:	ali.abdallah@suse.com
PR:		251503
MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
This commit is contained in:
Hans Petter Selasky
2020-12-23 11:54:42 +01:00
parent ddce63fcb6
commit 1622a49852
+2
View File
@@ -3870,6 +3870,8 @@ xhci_configure_reset_endpoint(struct usb_xfer *xfer)
* endpoint context state diagram in the XHCI specification:
*/
switch (xhci_get_endpoint_state(udev, epno)) {
case XHCI_EPCTX_0_EPSTATE_DISABLED:
break;
case XHCI_EPCTX_0_EPSTATE_STOPPED:
break;
case XHCI_EPCTX_0_EPSTATE_HALTED: