aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/request.c
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2012-03-09 01:41:59 -0500
committerDan Williams <dan.j.williams@intel.com>2012-05-17 17:33:40 -0400
commit447bfbcee070a0b43dd6abc743063d7a02fe65ca (patch)
tree7431e8eaadc2112795fcc7e3ba6a355bc1fafad9 /drivers/scsi/isci/request.c
parente3c84dfdb8f4c675b0ba5cf3fa252dc4056b7ddd (diff)
isci: Save the suspension hint for upcoming suspensions.
In the case of a suspend call while in SCI_RNC_POSTING or INVALIDATING states, the LLHANG detect needed to be saved so the upcoming suspension would enable it correctly. The unused suspend callback parameters were removed. 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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c
index 809d3683d0c9..432585b04dc2 100644
--- a/drivers/scsi/isci/request.c
+++ b/drivers/scsi/isci/request.c
@@ -2382,8 +2382,7 @@ static void sci_request_handle_suspending_completions(
2382 &ireq->target_device->rnc, 2382 &ireq->target_device->rnc,
2383 SCI_HW_SUSPEND, 2383 SCI_HW_SUSPEND,
2384 (is_tx_rx) ? SCU_EVENT_TL_RNC_SUSPEND_TX_RX 2384 (is_tx_rx) ? SCU_EVENT_TL_RNC_SUSPEND_TX_RX
2385 : SCU_EVENT_TL_RNC_SUSPEND_TX, 2385 : SCU_EVENT_TL_RNC_SUSPEND_TX);
2386 NULL, NULL);
2387 } 2386 }
2388} 2387}
2389 2388