On Thu, 21 Aug 2014, Paul Zimmerman wrote: > AFAIK, it has always been a requirement that usb_ep_dequeue() release > the data buffer and call the urb's completion routine before it returns. Hmmm. I don't know if that really has been a requirement, but it does seem to be true in the UDC drivers I'm familiar with. > Quite a few of the function drivers depend on that, after the call to > usb_ep_dequeue() they immediately free the data buffer. So if it's not > explicitly documented like that, it should be. Okay, would you like to write a documentation patch? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html