diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/ahci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index d4cd9c203314..acd1162712b1 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -2930,8 +2930,8 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
2930 | if (ahci_sb600_32bit_only(pdev)) | 2930 | if (ahci_sb600_32bit_only(pdev)) |
2931 | hpriv->flags |= AHCI_HFLAG_32BIT_ONLY; | 2931 | hpriv->flags |= AHCI_HFLAG_32BIT_ONLY; |
2932 | 2932 | ||
2933 | if (!(hpriv->flags & AHCI_HFLAG_NO_MSI)) | 2933 | if ((hpriv->flags & AHCI_HFLAG_NO_MSI) || pci_enable_msi(pdev)) |
2934 | pci_enable_msi(pdev); | 2934 | pci_intx(pdev, 1); |
2935 | 2935 | ||
2936 | /* save initial config */ | 2936 | /* save initial config */ |
2937 | ahci_save_initial_config(pdev, hpriv); | 2937 | ahci_save_initial_config(pdev, hpriv); |