Commit 7b7dd025 authored by Felipe Balbi's avatar Felipe Balbi

usb: dwc3: gadget: use the descriptor pointer we hold

We hold that pointer for one reason. It just
looks nicer to use it.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 40aa41fb
...@@ -943,7 +943,7 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) ...@@ -943,7 +943,7 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req)
int start_trans; int start_trans;
start_trans = 1; start_trans = 1;
if (usb_endpoint_xfer_isoc(dep->endpoint.desc) && if (usb_endpoint_xfer_isoc(dep->desc) &&
dep->flags & DWC3_EP_BUSY) dep->flags & DWC3_EP_BUSY)
start_trans = 0; start_trans = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment