From: Christoph Hellwig Date: Thu, 11 Aug 2016 14:26:01 +0000 (-0700) Subject: ahci: disable correct irq for dummy ports X-Git-Tag: v4.8-rc5~30^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b4b3f6a062b22550e62523efe5213776cdd426b;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Tejun Heo Fixes: d684a90d38e2 ("ahci: per-port msix support") Cc: stable@vger.kernel.org v4.5+ --- 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; }