diff options
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r-- | drivers/ata/libata-scsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index a883bb03d4c7..264ae60e3fd8 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -872,7 +872,8 @@ int ata_scsi_slave_config(struct scsi_device *sdev) | |||
872 | 872 | ||
873 | ata_scsi_sdev_config(sdev); | 873 | ata_scsi_sdev_config(sdev); |
874 | 874 | ||
875 | sdev->manage_start_stop = 1; | 875 | if (dev->class == ATA_DEV_ATA) |
876 | sdev->manage_start_stop = 1; | ||
876 | 877 | ||
877 | if (dev) | 878 | if (dev) |
878 | ata_scsi_dev_config(sdev, dev); | 879 | ata_scsi_dev_config(sdev, dev); |