On Sun, Apr 30, 2000 at 08:42:58AM +0000, tom wrote:
> Hi Georg, Tom,
> 
> as I was starting to point out and dig through interrupt transfers on
> uhci/usb-uhci, I found one peculiarity. According to the docs (and
> source), an interrupt transfer is supposed to stop when the interval is
> set to 0. This was the behavior with JE's uhci, but your usb-uhci kept
> calling my completion routine. Attached is a patch which fixes the
> problem - as in my previous mail, be careful with it; I don't know my
> way around too well in your code! Again, it's a one-liner, though ;-)

Hm, when you submit an interrupt with an interval of zero, it is supposed
to do a one-shot-interrupt. Whether the urb is then automatically unlinked, is
another issue (was there a consensus lately?). To officially stop an ongoing
interrupt, you should issue usb_unlink_urb(). 

-- 
        Bye
         Georg Acher, [EMAIL PROTECTED]         
         http://www.in.tum.de/~acher/
          "Oh no, not again !" The bowl of petunias          

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to