diff options
Diffstat (limited to 'drivers/scsi/libsas/sas_scsi_host.c')
-rw-r--r-- | drivers/scsi/libsas/sas_scsi_host.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index 29251fabecc6..5815cbeb27a6 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c | |||
@@ -211,8 +211,7 @@ static int sas_queuecommand_lck(struct scsi_cmnd *cmd, | |||
211 | unsigned long flags; | 211 | unsigned long flags; |
212 | 212 | ||
213 | spin_lock_irqsave(dev->sata_dev.ap->lock, flags); | 213 | spin_lock_irqsave(dev->sata_dev.ap->lock, flags); |
214 | res = ata_sas_queuecmd(cmd, scsi_done, | 214 | res = ata_sas_queuecmd(cmd, dev->sata_dev.ap); |
215 | dev->sata_dev.ap); | ||
216 | spin_unlock_irqrestore(dev->sata_dev.ap->lock, flags); | 215 | spin_unlock_irqrestore(dev->sata_dev.ap->lock, flags); |
217 | goto out; | 216 | goto out; |
218 | } | 217 | } |