[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb-devel
Subject:    Re: [linux-usb-devel] question on the lifecycle of struct ed in
From:       David Brownell <david-b () pacbell ! net>
Date:       2007-06-28 14:59:31
Message-ID: 200706280759.31613.david-b () pacbell ! net
[Download RAW message or body]

On Thursday 28 June 2007, Oliver Neukum wrote:
> 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?

That's not permitted.  "You" get what you deserve:  the original
(== one and only) interval is obeyed.


> 				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/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic