diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 47d59616fe3d..9e8b99af400d 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -2331,8 +2331,9 @@ int ata_dev_configure(struct ata_device *dev) | |||
2331 | 2331 | ||
2332 | /* Obtain SATA Settings page from Identify Device Data Log, | 2332 | /* Obtain SATA Settings page from Identify Device Data Log, |
2333 | * which contains DevSlp timing variables etc. | 2333 | * which contains DevSlp timing variables etc. |
2334 | * Exclude old devices with ata_id_has_ncq() | ||
2334 | */ | 2335 | */ |
2335 | if (ata_id_has_hw_feature_ctrl(dev->id)) { | 2336 | if (ata_id_has_ncq(dev->id)) { |
2336 | err_mask = ata_read_log_page(dev, | 2337 | err_mask = ata_read_log_page(dev, |
2337 | ATA_LOG_SATA_ID_DEV_DATA, | 2338 | ATA_LOG_SATA_ID_DEV_DATA, |
2338 | ATA_LOG_SATA_SETTINGS, | 2339 | ATA_LOG_SATA_SETTINGS, |