projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a180e7
)
usb: musb: gadget: check the correct list_head
author
Felipe Balbi
<balbi@ti.com>
Tue, 22 Mar 2011 09:38:49 +0000
(11:38 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 13 Apr 2011 08:51:26 +0000
(11:51 +0300)
We are now using our own list_head, so we should
be checking against that, not the gadget driver's
list_head.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_gadget.c
b/drivers/usb/musb/musb_gadget.c
index 9ecb057902ef1a63d3f2590db171c02c0ae490c8..6dfbf9ffd7a63660ef472b6b3a932ecf22fd0341 100644
(file)
--- a/
drivers/usb/musb/musb_gadget.c
+++ b/
drivers/usb/musb/musb_gadget.c
@@
-1296,7
+1296,7
@@
static int musb_gadget_dequeue(struct usb_ep *ep, struct usb_request *request)
}
/* if the hardware doesn't have the request, easy ... */
- if (musb_ep->req_list.next != &req
uest
->list || musb_ep->busy)
+ if (musb_ep->req_list.next != &req->list || musb_ep->busy)
musb_g_giveback(musb_ep, request, -ECONNRESET);
/* ... else abort the dma transfer ... */