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:
b09bc6c
)
usb: musb: fix bug in musb_schedule
author
Felipe Balbi
<felipe.balbi@nokia.com>
Mon, 17 Nov 2008 07:08:16 +0000
(09:08 +0200)
committer
Greg Kroah-Hartman
<gregkh@kvm.kroah.org>
Thu, 20 Nov 2008 06:01:34 +0000
(22:01 -0800)
This bug was introduced recently. Fix it before bigger
problems appear.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_host.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_host.c
b/drivers/usb/musb/musb_host.c
index e45e70bcc5e2ea1c79610ad7f754a8029e922ccd..cc64462d4c4ee0ee97e5271afa3769bdfdab7686 100644
(file)
--- a/
drivers/usb/musb/musb_host.c
+++ b/
drivers/usb/musb/musb_host.c
@@
-1757,7
+1757,7
@@
static int musb_schedule(
}
}
/* use bulk reserved ep1 if no other ep is free */
- if (best_end
>
0 && qh->type == USB_ENDPOINT_XFER_BULK) {
+ if (best_end
<
0 && qh->type == USB_ENDPOINT_XFER_BULK) {
hw_ep = musb->bulk_ep;
if (is_in)
head = &musb->in_bulk;