diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-18 21:00:48 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-03-14 16:03:57 -0400 |
commit | e38705506605479edab1f40751b8f3a19b7bef94 (patch) | |
tree | a016e0631c284ff7615d05f884c11970e8bce237 /drivers | |
parent | 9247e971c694380a3fced87752bce7aac40b61a9 (diff) |
ide: Fix irq flags madness
Revert the broken commit ec1a123 (IDE: pass IRQ flags to the IDE core)
passes unfiltered resource->flags to the irq_flags which are used for
request_irq. That's totally bogus. It results in random bits set
(especially IORESOURCE_IRQ which maps to IRQF_PER_CPU).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/ide_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide_platform.c b/drivers/ide/ide_platform.c index 542603b394e4..83a190f4c2f1 100644 --- a/drivers/ide/ide_platform.c +++ b/drivers/ide/ide_platform.c @@ -95,7 +95,7 @@ static int __devinit plat_ide_probe(struct platform_device *pdev) plat_ide_setup_ports(&hw, base, alt_base, pdata, res_irq->start); hw.dev = &pdev->dev; - d.irq_flags = res_irq->flags; + d.irq_flags = 0; if (mmio) d.host_flags |= IDE_HFLAG_MMIO; |