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:
6e3d4be
)
usb/isp1760: Report correct urb status after unlink
author
Arvid Brodin
<arvid.brodin@enea.com>
Tue, 26 Apr 2011 19:46:47 +0000
(21:46 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 3 May 2011 00:07:49 +0000
(17:07 -0700)
This fixes a bug in my previous (2.6.38) patch series which caused
urb->status value to be wrong after unlink (broke usbtest 11, 12).
Signed-off-by: Arvid Brodin <arvid.brodin@enea.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/isp1760-hcd.c
b/drivers/usb/host/isp1760-hcd.c
index 795345ad45e62881fb8e28a1abce639a3088cac8..7b2e69aa2e98fdf2e803bb9d1c26d25ba74cb63e 100644
(file)
--- a/
drivers/usb/host/isp1760-hcd.c
+++ b/
drivers/usb/host/isp1760-hcd.c
@@
-1633,6
+1633,7
@@
static int isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
ints[i].qh = NULL;
ints[i].qtd = NULL;
+ urb->status = status;
isp1760_urb_done(hcd, urb);
if (qtd)
pe(hcd, qh, qtd);