12 Jul
2012
12 Jul
'12
5:29 p.m.
Daniel Mack wrote:
In endpoint.c, bail out earlier in case the stream is stopped. ... @@ -350,7 +350,8 @@ static void snd_complete_urb(struct urb *urb) urb->status == -ENODEV || /* device removed */ urb->status == -ECONNRESET || /* unlinked */ urb->status == -ESHUTDOWN || /* device disabled */
ep->chip->shutdown)) /* device disconnected */
ep->chip->shutdown) || /* device disconnected */
goto exit_clear;!test_bit(EP_FLAG_RUNNING, &ep->flags))
Is this really needed? The URBs will be unlinked at the same time.
Regards, Clemens