summaryrefslogtreecommitdiff
path: root/drivers/usb/host/isp1760-hcd.c
diff options
context:
space:
mode:
authorArvid Brodin <arvid.brodin@enea.com>2011-07-20 05:13:46 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-08 23:34:48 +0400
commit17d3e145a4ad680b3d1b1c30d0696a5bbb2b65c4 (patch)
treeef6aa396ee207c8f29700ccce88522fe2613c848 /drivers/usb/host/isp1760-hcd.c
parent77636c86a600b83de01719efad83567e46d7e8ce (diff)
downloadlinux-17d3e145a4ad680b3d1b1c30d0696a5bbb2b65c4.tar.xz
usb/isp1760: Added missing call to usb_hcd_check_unlink_urb() during unlink
Signed-off-by: Arvid Brodin <arvid.brodin@enea.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1760-hcd.c')
-rw-r--r--drivers/usb/host/isp1760-hcd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c
index 55d3d5859ac5..840beda66dd9 100644
--- 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) {