aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/pnpacpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2007-11-19 12:23:59 -0500
committerLen Brown <len.brown@intel.com>2007-11-19 12:23:59 -0500
commitf0714d20234062bd0a8f49a6b32f7d1d7f3c2943 (patch)
tree8519d3ac90184d50c9301e1cc18e88d9b1e10077 /drivers/pnp/pnpacpi
parent2ffbb8377c7a0713baf6644e285adc27a5654582 (diff)
Revert "Fix very high interrupt rate for IRQ8 (rtc) unless pnpacpi=off"
This reverts commit 9cd8047b463f213c294f756119ac353312e7a152.
Diffstat (limited to 'drivers/pnp/pnpacpi')
-rw-r--r--drivers/pnp/pnpacpi/rsparser.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/pnp/pnpacpi/rsparser.c b/drivers/pnp/pnpacpi/rsparser.c
index cd0a204d96d1..0e3b8d0ff06b 100644
--- a/drivers/pnp/pnpacpi/rsparser.c
+++ b/drivers/pnp/pnpacpi/rsparser.c
@@ -85,16 +85,6 @@ static void pnpacpi_parse_allocated_irqresource(struct pnp_resource_table *res,
85 if (i >= PNP_MAX_IRQ) 85 if (i >= PNP_MAX_IRQ)
86 return; 86 return;
87 87
88#ifdef CONFIG_X86
89 if (gsi < 16 && (triggering != ACPI_EDGE_SENSITIVE ||
90 polarity != ACPI_ACTIVE_HIGH)) {
91 pnp_warn("BIOS BUG: legacy PNP IRQ %d should be edge trigger, "
92 "active high", gsi);
93 triggering = ACPI_EDGE_SENSITIVE;
94 polarity = ACPI_ACTIVE_HIGH;
95 }
96#endif
97
98 res->irq_resource[i].flags = IORESOURCE_IRQ; // Also clears _UNSET flag 88 res->irq_resource[i].flags = IORESOURCE_IRQ; // Also clears _UNSET flag
99 res->irq_resource[i].flags |= irq_flags(triggering, polarity); 89 res->irq_resource[i].flags |= irq_flags(triggering, polarity);
100 irq = acpi_register_gsi(gsi, triggering, polarity); 90 irq = acpi_register_gsi(gsi, triggering, polarity);