projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77636c8
)
usb/isp1760: Added missing call to usb_hcd_check_unlink_urb() during unlink
author
Arvid Brodin
<arvid.brodin@enea.com>
Wed, 20 Jul 2011 01:13:46 +0000
(
03:13
+0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 8 Aug 2011 19:34:48 +0000
(12:34 -0700)
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
|
blame
|
history
diff --git
a/drivers/usb/host/isp1760-hcd.c
b/drivers/usb/host/isp1760-hcd.c
index 55d3d5859ac5667da2332a3a782588e4541bbdc9..840beda66dd94aa378c506918ffad093e1ba4052 100644
(file)
--- a/
drivers/usb/host/isp1760-hcd.c
+++ b/
drivers/usb/host/isp1760-hcd.c
@@
-1583,6
+1583,9
@@
static int isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,
int retval = 0;
spin_lock_irqsave(&priv->lock, spinflags);
+ retval = usb_hcd_check_unlink_urb(hcd, urb, status);
+ if (retval)
+ goto out;
qh = urb->ep->hcpriv;
if (!qh) {