On Sat, 10 Sep 2005, Savita H wrote:

> Hi,
> 
> While unlinking the urbs in disconnect function i am calling usb_unlink_urb.
> but while unloading i get message as ...
>       usb_unlink_urb is deprecated for synchronous links ,use usb_kill_urb.
> I am using these URBs for asynchronous transmission of data .I hv set the
> flags of Urb as URB_ASYNC_UNLINK so i am calling usb_unlink_urb while
> unlinking is it fine???

You should not use URB_ASYNC_UNLINK any more.  In fact, it doesn't even 
exist in the latest kernels.  Instead, call usb_kill_urb to do synchronous 
unlinking and usb_unlink_urb to do asynchronous unlinking.

This has nothing to do with whether the data transmission is asynchronous.  
It only affects the unlink procedure.

Alan Stern



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to