On Thu, Jul 29, 2004 at 06:35:26PM +0200, Duncan Sands wrote:
> +static int start_wait_urb(struct usb_device *dev, struct urb *urb, int timeout, 
> int* actual_length)

Hm, with the exception of these two lines:

> +             up(&dev->serialize);
> +             wait_for_completion(&done);
> +             down(&dev->serialize);

I don't see how this is any different from usb_start_wait_urb().  You
say it's interruptable, but if it is, then why isn't
usb_start_wait_urb()?  Why can't you just use it (or really the
functions that call it), by dropping the semaphore before calling it?

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to