diff options
Diffstat (limited to 'drivers/scsi/libsas/sas_scsi_host.c')
-rw-r--r-- | drivers/scsi/libsas/sas_scsi_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index 822835055cef..b71b6d41baa1 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c | |||
@@ -818,7 +818,7 @@ void sas_slave_destroy(struct scsi_device *scsi_dev) | |||
818 | struct domain_device *dev = sdev_to_domain_dev(scsi_dev); | 818 | struct domain_device *dev = sdev_to_domain_dev(scsi_dev); |
819 | 819 | ||
820 | if (dev_is_sata(dev)) | 820 | if (dev_is_sata(dev)) |
821 | ata_port_disable(dev->sata_dev.ap); | 821 | dev->sata_dev.ap->link.device[0].class = ATA_DEV_NONE; |
822 | } | 822 | } |
823 | 823 | ||
824 | int sas_change_queue_depth(struct scsi_device *scsi_dev, int new_depth, | 824 | int sas_change_queue_depth(struct scsi_device *scsi_dev, int new_depth, |