aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/sata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/sata.c')
-rw-r--r--drivers/scsi/isci/sata.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/isci/sata.c b/drivers/scsi/isci/sata.c
index b9b9271d4736..e7ce46924465 100644
--- a/drivers/scsi/isci/sata.c
+++ b/drivers/scsi/isci/sata.c
@@ -213,11 +213,10 @@ int isci_task_send_lu_reset_sata(
213 213
214 /* Send the soft reset to the target */ 214 /* Send the soft reset to the target */
215 #define ISCI_SRST_TIMEOUT_MS 25000 /* 25 second timeout. */ 215 #define ISCI_SRST_TIMEOUT_MS 25000 /* 25 second timeout. */
216 isci_task_build_tmf(&tmf, isci_device, isci_tmf_sata_srst_high, 216 isci_task_build_tmf(&tmf, isci_tmf_sata_srst_high, NULL, NULL);
217 NULL, NULL
218 );
219 217
220 ret = isci_task_execute_tmf(isci_host, &tmf, ISCI_SRST_TIMEOUT_MS); 218 ret = isci_task_execute_tmf(isci_host, isci_device, &tmf,
219 ISCI_SRST_TIMEOUT_MS);
221 220
222 if (ret != TMF_RESP_FUNC_COMPLETE) { 221 if (ret != TMF_RESP_FUNC_COMPLETE) {
223 dev_warn(&isci_host->pdev->dev, 222 dev_warn(&isci_host->pdev->dev,