summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/request.c
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2012-03-09 07:41:58 +0100
committerDan Williams <dan.j.williams@intel.com>2012-05-17 23:33:40 +0200
commitc94fc1ad25de885e1c59f714f19bc726e7a21caf (patch)
treef522804dabddeb78304384f897264f731588eab0 /drivers/scsi/isci/request.c
parentisci: Remove isci_device reqs_in_process and dev_node from isci_device. (diff)
downloadlinux-c94fc1ad25de885e1c59f714f19bc726e7a21caf.tar.xz
linux-c94fc1ad25de885e1c59f714f19bc726e7a21caf.zip
isci: Distinguish between remote device suspension cases
For NCQ error conditions among others, there is no need to enable the link layer hang detect timer. Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/request.c')
-rw-r--r--drivers/scsi/isci/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c
index 662f36de8052..48b409d68c0d 100644
--- a/drivers/scsi/isci/request.c
+++ b/drivers/scsi/isci/request.c
@@ -2380,7 +2380,7 @@ static void sci_request_handle_suspending_completions(
sci_remote_node_context_suspend(
&ireq->target_device->rnc,
- SCU_HARDWARE_SUSPENSION,
+ SCI_HW_SUSPEND,
(is_tx_rx) ? SCU_EVENT_TL_RNC_SUSPEND_TX_RX
: SCU_EVENT_TL_RNC_SUSPEND_TX,
NULL, NULL);