aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/dwc3/gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 4b64dc0bfa27..d406a75456a0 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -943,7 +943,7 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req)
943 int start_trans; 943 int start_trans;
944 944
945 start_trans = 1; 945 start_trans = 1;
946 if (usb_endpoint_xfer_isoc(dep->endpoint.desc) && 946 if (usb_endpoint_xfer_isoc(dep->desc) &&
947 dep->flags & DWC3_EP_BUSY) 947 dep->flags & DWC3_EP_BUSY)
948 start_trans = 0; 948 start_trans = 0;
949 949