Re: [PATCH v3] gpio: pl061: Fix the issue failed to register the ACPI interrtupion

From: Wei Xu
Date: Tue Aug 20 2019 - 05:28:02 EST


Hi Linus,

On 2019/8/20 16:01, Linus Walleij wrote:
On Mon, Aug 19, 2019 at 3:29 PM Wei Xu <xuwei5@xxxxxxxxxxxxx> 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.
Thanks!

Best Regards,
Wei

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel