aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdnsp-debug.h
diff options
context:
space:
mode:
authorPawel Laszczak <[email protected]>2023-10-26 07:37:37 +0000
committerGreg Kroah-Hartman <[email protected]>2023-10-27 10:56:37 +0000
commit2998874736bca1031ca84b0a3235a2cd09dfa426 (patch)
tree9d78bcf8974c1a54ad7ff139054e52b3b01c3cd6 /drivers/usb/cdns3/cdnsp-debug.h
parentusb: gadget: aspeed_udc: Convert to platform remove callback returning void (diff)
downloadkernel-2998874736bca1031ca84b0a3235a2cd09dfa426.tar.gz
kernel-2998874736bca1031ca84b0a3235a2cd09dfa426.zip
usb:cdnsp: remove TRB_FLUSH_ENDPOINT command
Patch removes TRB_FLUSH_ENDPOINT command from driver. This command is not supported by controller and USBSSP returns TRB Error completion code for it. Signed-off-by: Pawel Laszczak <[email protected]> Acked-by: Peter Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
-rw-r--r--drivers/usb/cdns3/cdnsp-debug.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/cdns3/cdnsp-debug.h b/drivers/usb/cdns3/cdnsp-debug.h
index f0ca865cce2a..ad617b7455b9 100644
--- a/drivers/usb/cdns3/cdnsp-debug.h
+++ b/drivers/usb/cdns3/cdnsp-debug.h
@@ -131,8 +131,6 @@ static inline const char *cdnsp_trb_type_string(u8 type)
return "Endpoint Not ready";
case TRB_HALT_ENDPOINT:
return "Halt Endpoint";
- case TRB_FLUSH_ENDPOINT:
- return "FLush Endpoint";
default:
return "UNKNOWN";
}
@@ -328,7 +326,6 @@ static inline const char *cdnsp_decode_trb(char *str, size_t size, u32 field0,
break;
case TRB_RESET_EP:
case TRB_HALT_ENDPOINT:
- case TRB_FLUSH_ENDPOINT:
ret = snprintf(str, size,
"%s: ep%d%s(%d) ctx %08x%08x slot %ld flags %c",
cdnsp_trb_type_string(type),