On Tue, 15 Nov 2005 16:08:08 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote:

>       /*
>        * Bulk is easy to shortcut reliably. 
>        * XXX Other pipe types need consideration. Currently, we overdo it
>        * and collect garbage for them: better more than less.
>        */
>       if (usb_pipebulk(pipe) || usb_pipecontrol(pipe)) {
>               if (usb_pipein(pipe)) {
>                       if (ev_type == 'S')
>                               return '<';

> Surely that first test isn't needed at all.  Interrupt and isochronous 
> transfers send data in or out in the same way as bulk and control.

I thought ISO received several callbacks for every submission.
If that is not the case, the test can be dropped.

-- Pete


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to