diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-17 19:30:26 +0200 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2014-03-05 00:38:07 +0100 |
commit | d5f808d3f88e90b13a4839e07b3dc6e715e2ba88 (patch) | |
tree | 26b4cf0350f63e454385da87bfad78ab60445e24 /drivers/usb/storage/usb.h | |
parent | uas: replace BUG_ON() + WARN_ON() with WARN_ON_ONCE() (diff) | |
download | linux-d5f808d3f88e90b13a4839e07b3dc6e715e2ba88.tar.xz linux-d5f808d3f88e90b13a4839e07b3dc6e715e2ba88.zip |
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>
Diffstat (limited to 'drivers/usb/storage/usb.h')
0 files changed, 0 insertions, 0 deletions