projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c30aa47
)
usb: mdm6600: Remove urbs from in_flight list on completion
author
Benoit Goby
<benoit@android.com>
Tue, 7 Sep 2010 22:50:52 +0000
(15:50 -0700)
committer
Colin Cross
<ccross@android.com>
Wed, 6 Oct 2010 23:51:12 +0000
(16:51 -0700)
This fixes an issue where uncompleted urbs get added to the pending
anchor.
Change-Id: I9504fea0ca42e9d18dfe255744ba8f6638e1f324
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/serial/mdm6600.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/mdm6600.c
b/drivers/usb/serial/mdm6600.c
index 21e740478b9d704be33c8884b3268727ca774b96..63a2e02322650224a51b589eda8c85eaad51076a 100644
(file)
--- a/
drivers/usb/serial/mdm6600.c
+++ b/
drivers/usb/serial/mdm6600.c
@@
-602,6
+602,9
@@
static void mdm6600_read_bulk_cb(struct urb *u)
return;
}
+ /* remove urb from in_flight list */
+ usb_unanchor_urb(u);
+
/* process urb in bottom half */
usb_anchor_urb(u, &modem->read.pending);
schedule_work(&modem->read.work);