summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libahci.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-08-11 16:26:01 +0200
committerTejun Heo <tj@kernel.org>2016-08-11 19:45:31 +0200
commit9b4b3f6a062b22550e62523efe5213776cdd426b (patch)
tree8ab15a1a785f4c00f62489ada974f20360403772 /drivers/ata/libahci.c
parentLinux 4.8-rc1 (diff)
downloadlinux-9b4b3f6a062b22550e62523efe5213776cdd426b.tar.xz
linux-9b4b3f6a062b22550e62523efe5213776cdd426b.zip
ahci: disable correct irq for dummy ports
irq already contains the interrupt number for the port, don't add the port index to it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: d684a90d38e2 ("ahci: per-port msix support") Cc: stable@vger.kernel.org v4.5+
Diffstat (limited to 'drivers/ata/libahci.c')
-rw-r--r--drivers/ata/libahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
index 7461a587b39b..dcf2c724fd06 100644
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -2524,7 +2524,7 @@ static int ahci_host_activate_multi_irqs(struct ata_host *host,
/* Do not receive interrupts sent by dummy ports */
if (!pp) {
- disable_irq(irq + i);
+ disable_irq(irq);
continue;
}