Thread (8 messages) 8 messages, 3 authors, 2019-08-20

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

From: Wei Xu <xuwei5@hisilicon.com>
Date: 2019-08-20 09:28:01
Also in: linux-gpio, lkml

Hi Linus,

On 2019/8/20 16:01, Linus Walleij wrote:
On Mon, Aug 19, 2019 at 3:29 PM Wei Xu [off-list ref] wrote:
quoted
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help