projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4817
)
ahci: disable correct irq for dummy ports
author
Christoph Hellwig
<hch@lst.de>
Thu, 11 Aug 2016 14:26:01 +0000
(07:26 -0700)
committer
Tejun Heo
<tj@kernel.org>
Thu, 11 Aug 2016 17:45:31 +0000
(13:45 -0400)
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+
drivers/ata/libahci.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libahci.c
b/drivers/ata/libahci.c
index 7461a587b39b4e9d953e3a0063b9f1fb8cad0319..dcf2c724fd066c33cf74a3f502d2ae6ba3d276bc 100644
(file)
--- 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;
}