PCDP: call acpi_register_gsi() with arguments in correct order
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
Signed-off-by Bjorn Helgaas <[email protected]>
===== 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 ;