Skip to content

Commit

Permalink
usb/isp1760: Added missing call to usb_hcd_check_unlink_urb() during …
Browse files Browse the repository at this point in the history
…unlink

Signed-off-by: Arvid Brodin <arvid.brodin@enea.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Arvid Brodin authored and Greg Kroah-Hartman committed Aug 8, 2011
1 parent 77636c8 commit 17d3e14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/usb/host/isp1760-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 17d3e14

Please sign in to comment.