Re: [linux-usb-devel] Re: Questions about the USB kernel API

2004-03-06 Thread Alan Stern
On Sat, 6 Mar 2004, David Brownell wrote: > Wolfgang Mües wrote: > > How would I unlink all urbs from the completion handler? > > If I do it synchronous, I'll have to sleep in the completion handler. > > The kernel doc does point out explicitly that you can't use > synchronous unlinking from a co

Re: [linux-usb-devel] Re: Questions about the USB kernel API

2004-03-06 Thread David Brownell
Wolfgang Mües wrote: Hello, On Saturday 06 March 2004 01:16, David Brownell wrote: If an URB terminates with an error, its queue is stopped until the URB's completion handler returns. Note that an IN transfer ending early because a short packet was received counts as an

Re: [linux-usb-devel] Re: Questions about the USB kernel API

2004-03-06 Thread Wolfgang Mües
Hello, On Saturday 06 March 2004 01:16, David Brownell wrote: > > If an URB terminates with an error, its queue is stopped until > > the URB's completion handler returns. Note that an IN transfer > > ending early because a short packet was received counts as an > > error if and on