commit | d5f808d3f88e90b13a4839e07b3dc6e715e2ba88 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Thu Oct 17 19:30:26 2013 +0200 |
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Tue Mar 04 15:38:07 2014 -0800 |
tree | 26b4cf0350f63e454385da87bfad78ab60445e24 | |
parent | f491ecbb47d5a709d46401da3cd54ff8ee666ca0 [diff] |
uas: Urbs must be anchored before submitting them Otherwise they may complete before they get anchored and thus never get unanchored (as the unanchoring is done by the usb core on completion). This commit also remove the usb_get_urb / usb_put_urb around cmd submission + anchoring, since if done in the proper order this is not necessary. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>