Re: [PATCH 4/4] USB: add urb->unlinked field
Pete Zaitcev <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On Tue, 21 Aug 2007 13:53:38 -0700, Greg KH <[email protected]> wrote: > > > Hm, is this field now safe to be used by drivers to determine if the urb > > > is still being handled by the host controllers also? > > > > You mean is the urb->status conversion finished? Not yet. I've got > > more patches still to test and submit. It's getting there... > > No, I mean is this something that drivers can use to check if the urb is > finished with the HCD, like they currently check for -EINPROGRESS today. Drivers must maintain this status by setting and clearing a flag. They set it before submitting, clear it in callback or if submission fails. I thought we had your agreement on this as a stack maintainer. In my practice so far it worked perfectly. Is there a specific driver you have in mind where this requirement is inconvenient? -- Pete ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel