diff options
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r-- | drivers/ata/ahci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index dd92faf197d5..05c2b32dcc4d 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -1600,7 +1600,9 @@ static void ahci_intel_pcs_quirk(struct pci_dev *pdev, struct ahci_host_priv *hp | |||
1600 | */ | 1600 | */ |
1601 | if (!id || id->vendor != PCI_VENDOR_ID_INTEL) | 1601 | if (!id || id->vendor != PCI_VENDOR_ID_INTEL) |
1602 | return; | 1602 | return; |
1603 | if (((enum board_ids) id->driver_data) < board_ahci_pcs7) | 1603 | |
1604 | /* Skip applying the quirk on Denverton and beyond */ | ||
1605 | if (((enum board_ids) id->driver_data) >= board_ahci_pcs7) | ||
1604 | return; | 1606 | return; |
1605 | 1607 | ||
1606 | /* | 1608 | /* |