By now, it has the same semantics as DWC3_EP_TRANSFER_STARTED, but
that has a much more descriptive name.

Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com>
---
 drivers/usb/dwc3/gadget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index e982cdec8a5d..0c6db0de3fd1 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -1196,7 +1196,7 @@ static int __dwc3_gadget_kick_transfer(struct dwc3_ep 
*dep)
        if (!dwc3_calc_trbs_left(dep))
                return 0;
 
-       starting = !(dep->flags & DWC3_EP_BUSY);
+       starting = !(dep->flags & DWC3_EP_TRANSFER_STARTED);
 
        dwc3_prepare_trbs(dep);
        req = next_request(&dep->started_list);
@@ -1312,7 +1312,7 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, 
struct dwc3_request *req)
                        return 0;
                }
 
-               if ((dep->flags & DWC3_EP_BUSY) &&
+               if ((dep->flags & DWC3_EP_TRANSFER_STARTED) &&
                    !(dep->flags & DWC3_EP_MISSED_ISOC))
                        goto out;
 
-- 
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to