On Tue, 20 Apr 2010, Daniel Drake wrote: > Hi Alan, > > El 01/09/09 12:09, Alan Stern escribió: > > In the updated patch this mechanism affects all bulk transfers, not > > just bulk-IN. So for example, if a transient hardware problem causes a > > bulk-OUT URB to fail, the remaining URBs in that transfer will > > automatically be cancelled. > > > > I will post the new patch shortly. The expectation is that it will get > > into the next merge window, so it will appear in 2.6.32. > > Digging up an old topic... > http://www.libusb.org/ticket/20 points out that OUT urbs with > SHORT_NOT_OK set generate warnings and rejects transfers in debug mode. Right. URB_SHORT_NOT_OK makes sense only for IN transfers. I suppose we could simply ignore it if it is set in an OUT URB, but there's no compelling reason to change this. > The debug code in usb_submit_urb() does indeed check that SHORT_NOT_OK > is only set on IN urbs. > > Can we fix that inconsistency? Is the correct fix simply removing the check? What's the inconsistency? As far as I can see, nothing needs to be fixed. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html