projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da65c2b
)
uas: Fix task-management not working when connected over USB-2
author
Hans de Goede
<hdegoede@redhat.com>
Tue, 12 Nov 2013 09:51:33 +0000
(10:51 +0100)
committer
Sarah Sharp
<sarah.a.sharp@linux.intel.com>
Tue, 4 Mar 2014 23:38:21 +0000
(15:38 -0800)
For USB-2 connections the stream-id must always be 0.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/storage/uas.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/storage/uas.c
b/drivers/usb/storage/uas.c
index 019f2030ea0c145e547b318303ab0668f96e00a5..10e580e56d4c39940a09a7150bbcc3f00410f48a 100644
(file)
--- a/
drivers/usb/storage/uas.c
+++ b/
drivers/usb/storage/uas.c
@@
-746,7
+746,8
@@
static int uas_eh_task_mgmt(struct scsi_cmnd *cmnd,
devinfo->running_task = 1;
memset(&devinfo->response, 0, sizeof(devinfo->response));
- sense_urb = uas_submit_sense_urb(shost, GFP_NOIO, tag);
+ sense_urb = uas_submit_sense_urb(shost, GFP_NOIO,
+ devinfo->use_streams ? tag : 0);
if (!sense_urb) {
shost_printk(KERN_INFO, shost,
"%s: %s: submit sense urb failed\n",