Skip to contentSkip to conversation

PCDP: call acpi_register_gsi() with arguments in correct order

PATCH New Bjorn Helgaas 1 participant 1 message Oct 22, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCDP: call acpi_register_gsi() with arguments in correct order

We were calling acpi_register_gsi() with arguments out of order.

PCDP: call acpi_register_gsi() with arguments in correct order

===== drivers/firmware/pcdp.c 1.6 vs edited =====

drivers/firmware/pcdp.c +2 -2
@@ -98,8 +98,8 @@
 
 	if (uart_irq_supported(rev, uart)) {
 		port.irq = acpi_register_gsi(uart->gsi,
-			uart_active_high_low(rev, uart),
-			uart_edge_level(rev, uart));
+			uart_edge_level(rev, uart),
+			uart_active_high_low(rev, uart));
 		port.flags |= UPF_AUTO_IRQ;  /* some FW reported wrong GSI */
 		if (uart_pci(rev, uart))
 			port.flags |= UPF_SHARE_IRQ;