At Thu, 8 Nov 2012 10:55:50 -0500 (EST), Alan Stern wrote: > > On Thu, 8 Nov 2012, Takashi Iwai wrote: > > > At Thu, 08 Nov 2012 08:31:35 +0100, > > Daniel Mack wrote: > > (snip) > > > >> We can't simply stop both endpoints in the prepare callback. > > > > > > > > The new function doesn't stop the stream by itself but it just syncs > > > > if the stream is being stopped beforehand. So, it's safe to call it > > > > there. > > > > > > > > Maybe the name was confusing. It should have been like > > > > snd_usb_endpoint_sync_pending_stop() or such. > > > > > > Ah, right. I was errornously looking closer to Alan's patch but then > > > replied to yours. Alright then - thanks for explaining :) > > > > OK, thanks for checking. > > > > FWIW, below is the patch I applied now to for-linus branch. > > Renamed the function, added the comment and put NULL check to the > > function to simplify. > > Thanks for fixing this. Is your patch marked for -stable?
Yes. I'm going to send a pull request to Linus tomorrow. > I have submitted a patch for ehci-hcd, so we should be all set. OK, thanks! Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/