浏览代码

Revert "Fix very high interrupt rate for IRQ8 (rtc) unless pnpacpi=off"

This reverts commit 9cd8047b463f213c294f756119ac353312e7a152.
Len Brown 17 年之前
父节点
当前提交
f0714d2023
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 0 10
      drivers/pnp/pnpacpi/rsparser.c

+ 0 - 10
drivers/pnp/pnpacpi/rsparser.c

@@ -85,16 +85,6 @@ static void pnpacpi_parse_allocated_irqresource(struct pnp_resource_table *res,
 	if (i >= PNP_MAX_IRQ)
 		return;
 
-#ifdef CONFIG_X86
-	if (gsi < 16 && (triggering != ACPI_EDGE_SENSITIVE ||
-				polarity != ACPI_ACTIVE_HIGH)) {
-		pnp_warn("BIOS BUG: legacy PNP IRQ %d should be edge trigger, "
-				"active high", gsi);
-		triggering = ACPI_EDGE_SENSITIVE;
-		polarity = ACPI_ACTIVE_HIGH;
-	}
-#endif
-
 	res->irq_resource[i].flags = IORESOURCE_IRQ;	// Also clears _UNSET flag
 	res->irq_resource[i].flags |= irq_flags(triggering, polarity);
 	irq = acpi_register_gsi(gsi, triggering, polarity);