mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[SCSI] stex: fix queue depth setting
We want to set the queue depth to something reasonable - not the can_queue. Signed-off-by: Mike Christie <[email protected]> Cc: Ed Lin <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
d510d965e1
commit
5d90027fb5
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ stex_slave_alloc(struct scsi_device *sdev)
|
|||
/* Cheat: usually extracted from Inquiry data */
|
||||
sdev->tagged_supported = 1;
|
||||
|
||||
scsi_activate_tcq(sdev, sdev->host->can_queue);
|
||||
scsi_activate_tcq(sdev, ST_CMD_PER_LUN);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue