diff options
-rw-r--r-- | drivers/ata/libahci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index b5f57c69c487..692782dddc0f 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c | |||
@@ -2599,7 +2599,8 @@ int ahci_host_activate(struct ata_host *host, struct scsi_host_template *sht) | |||
2599 | int rc; | 2599 | int rc; |
2600 | 2600 | ||
2601 | if (hpriv->flags & AHCI_HFLAG_MULTI_MSI) { | 2601 | if (hpriv->flags & AHCI_HFLAG_MULTI_MSI) { |
2602 | if (hpriv->irq_handler) | 2602 | if (hpriv->irq_handler && |
2603 | hpriv->irq_handler != ahci_single_level_irq_intr) | ||
2603 | dev_warn(host->dev, | 2604 | dev_warn(host->dev, |
2604 | "both AHCI_HFLAG_MULTI_MSI flag set and custom irq handler implemented\n"); | 2605 | "both AHCI_HFLAG_MULTI_MSI flag set and custom irq handler implemented\n"); |
2605 | if (!hpriv->get_irq_vector) { | 2606 | if (!hpriv->get_irq_vector) { |