Commit 9b4b3f6a authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Tejun Heo

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Fixes: d684a90d ("ahci: per-port msix support")
Cc: stable@vger.kernel.org v4.5+
parent 29b4817d
...@@ -2524,7 +2524,7 @@ static int ahci_host_activate_multi_irqs(struct ata_host *host, ...@@ -2524,7 +2524,7 @@ static int ahci_host_activate_multi_irqs(struct ata_host *host,
/* Do not receive interrupts sent by dummy ports */ /* Do not receive interrupts sent by dummy ports */
if (!pp) { if (!pp) {
disable_irq(irq + i); disable_irq(irq);
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment