projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40aa41f
)
usb: dwc3: gadget: use the descriptor pointer we hold
author
Felipe Balbi
<balbi@ti.com>
Wed, 18 Jan 2012 15:09:17 +0000
(17:09 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 6 Feb 2012 09:48:30 +0000
(11:48 +0200)
We hold that pointer for one reason. It just
looks nicer to use it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index
4b64dc0
..
d406a75
100644
(file)
--- 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)
int start_trans;
start_trans = 1;
- if (usb_endpoint_xfer_isoc(dep->
endpoint.
desc) &&
+ if (usb_endpoint_xfer_isoc(dep->desc) &&
dep->flags & DWC3_EP_BUSY)
start_trans = 0;