Re: [linux-usb-devel] usb_submit_urb() behavior in error conditions

2005-10-24 Thread Philip Hindman
On 10/21/05, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > On Fri, 21 Oct 2005 14:42:39 -0500, Philip Hindman <[EMAIL PROTECTED]> wrote: > > > I ask because the WDM analog to usb_submit_urb() actually guarantees > > that my completion routine *will* be called, even in err

[linux-usb-devel] usb_submit_urb() behavior in error conditions

2005-10-21 Thread Philip Hindman
If usb_submit_urb() fails, can I assume that the complete() callback has not been (and will never be) called? >From the description for usb_submit_urb(): "Successful submissions return 0; otherwise this routine returns a negative error number. If the submission is successful, the complete() call