Make UAS work on HS for devices with and without command tagging support

Sebastian Andrzej Siewior
2011-12-14T18:47:09Z

Hi Sarah and Matthew,

the two patches were required to get my new fancy uasp gadget work on HS
with dummy_hcd. It is processing only one command at a time however it
caught a few bugs already :)

To deal with canceled commands (where we may have to kill some status urbs)
I've been thinking about a list within uas_dev_info which keeps track of
all status urbs and counts all commands which are queued. Once we start
removing commands which timed out we should make sure that the number of
commands which remain is the same as the number of status urbs which we
have. If we have more status urbs than commands then we kill some status
urbs. If it is the other way around then someone was too trigger happy.

Sebastian