Re: OHCI hangs after failing to free resources

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tuesday 08 May 2007, Alan Stern wrote:

> > It's not allowed to be active at that point.  The flag being
> > tested is set only by usb_clear_halt()
> 
> More accurately, the flag being tested (i.e., the toggle value) is 
> _cleared_ only by usb_clear_halt() and usb_enable_endpoint().  ohci-hcd 
> sets the toggle in the next line, and it remains set until the endpoint is 
> cleared or re-enabled.

Yes, that's what I meant.  OHCI must use negative logic there:
usb_clear_halt() sets an active-low indicator.  Kind of like
most shared IRQ lines, where that one conditional handles
and acks the IRQ.  ;)




-------------------------------------------------------------------------
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.