On Friday 17 August 2012 13:11:30 Sebastian Andrzej Siewior wrote:
> On Thu, Aug 16, 2012 at 04:23:15PM +0200, Oliver Neukum wrote:
> >
> > > No, you are right. If the command EP was closed and the URB submission
> > > then it
> > > will retry over and over again.
> >
> > Well, what remedy would you suggest?
>
> I just noticed some of my patches here got reverted. Do you have any hardware
> or did you just stumble over it? I have just my target UAS gadgetâ¦
No hardware. Do you have suggestions where to get hardware?
> I know Sarah posted a while ago (year or so) a series where USB-anchor were
> used to keep track of URBs.
> Actually I have no idea why there is this workqueue at all. There is either a
> permanent error or a temporary error like -ENOMEM where *I* think you should
> give the system a moment to breath. So clean up your requests queue and say
> no, can't do but maybe later.
It is possible that you get -ENOMEM while a command is already being
executed. The worst case is probably that you got a command to the device
and you need to do autosense, but you get -ENOMEM.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html