Re: Possible bug in isp116x-hcd

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, 21 Jun 2007, ok wrote:

> Hi Alan,
> 
> Do you mean something like that below? I haven't tested it.

Yes, something very much like this.  It could be simplified a little;  
in a couple of places where you have

	finish_request();
	spin_unlock();
	continue;

you ought to be able to use a "goto" or "break" instead.  Also there
are a few minor problems, like calling finish_request before it is
declared and calling it before releasing urb->lock, but those can 
easily be fixed.

If you like, I'll try revising your patch.  You'll have to test it 
though; I don't have the hardware.

Alan Stern


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.