Commit 1ea19be4 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greg Kroah-Hartman

ahci: disable correct irq for dummy ports

commit 9b4b3f6a upstream.

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")
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 62e078a4
......@@ -2516,7 +2516,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;
}
......
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