#define DWC31_REVISION_180A    0x3138302a
 #define DWC31_REVISION_190A    0x3139302a
 
+#define DWC32_REVISION_ANY     0x0
+#define DWC32_REVISION_100A    0x3130302a
+
        u32                     version_type;
 
 #define DWC31_VERSIONTYPE_ANY          0x0
 
                 * hosts, force to reinitate the stream until the host is ready
                 * instead of waiting for the host to prime the endpoint.
                 */
-               dep->flags |= DWC3_EP_DELAY_START;
-               dwc3_stop_active_transfer(dep, true, true);
-               return;
+               if (DWC3_VER_IS_WITHIN(DWC32, 100A, ANY)) {
+                       unsigned int cmd = DWC3_DGCMD_SET_ENDPOINT_PRIME;
+
+                       dwc3_send_gadget_generic_command(dwc, cmd, dep->number);
+               } else {
+                       dep->flags |= DWC3_EP_DELAY_START;
+                       dwc3_stop_active_transfer(dep, true, true);
+                       return;
+               }
+               break;
        }
 
 out: