Re: question on the lifecycle of struct ed in ohci driver
Oliver Neukum <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Donnerstag, 28. Juni 2007 schrieb David Brownell: > On Thursday 28 June 2007, Oliver Neukum wrote: > > Hi, > > > > am I seeing this correctly that struct ed is allocated the first time an URB > > is submitted for the ed's endpoint and is freed when the endpoint is disabled? > > That's the idea. Damn. I wish I had misunderstood that. BTW, what happens if you submit the URB with a changed interval? if (ed->type == PIPE_ISOCHRONOUS) info |= ED_ISO; else if (interval > 32) /* iso can be bigger */ interval = 32; ed->interval = interval; Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel