mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
77636c86a6
commit
17d3e145a4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue