Commit fad9bce5 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix usbmidi driver for no automatic resubmission of interrupt urbs

parent 207dccc3
...@@ -184,10 +184,8 @@ static void snd_usbmidi_in_urb_complete(struct urb* urb) ...@@ -184,10 +184,8 @@ static void snd_usbmidi_in_urb_complete(struct urb* urb)
return; return;
} }
if (!usb_pipeint(urb->pipe)) {
urb->dev = ep->umidi->chip->dev; urb->dev = ep->umidi->chip->dev;
snd_usbmidi_submit_urb(urb, GFP_ATOMIC); snd_usbmidi_submit_urb(urb, GFP_ATOMIC);
}
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment