Re: [PATCH v3] gpio: pl061: Fix the issue failed to register the ACPI interrtupion
From: Linus Walleij <hidden>
Date: 2019-08-20 08:02:10
Also in:
linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2019-08-20 08:02:10
Also in:
linux-gpio, lkml
On Mon, Aug 19, 2019 at 3:29 PM Wei Xu [off-list ref] wrote:
Invoke acpi_gpiochip_request_interrupts after the acpi data has been attached to the pl061 acpi node to register interruption. Otherwise it will be failed to register interruption for the ACPI case. Because in the gpiochip_add_data_with_key, acpi_gpiochip_add is invoked after gpiochip_add_irqchip but at that time the acpi data has not been attached yet.
We need to fix this problem in gpiochip_add_data_with_key() instead. Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel