Re: [PATCH v2 10/12] PNP / ACPI: add support for GpioInt resource type

From: Linus Walleij
Date: Mon May 29 2017 - 05:27:07 EST


On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> From: Jagadish Krishnamoorthy <jagadish.krishnamoorthy@xxxxxxxxx>
>
> The PNP ACPI driver parses ACPI interrupt resource but not
> GpioInt resource. When the firmware passes GpioInt resource
> for IRQ the PNP ACPI driver ignores it and hence the interrupt for
> the particular driver will not work.
> One such example is 8042 keyboard which uses PNP driver for obtaining
> the interrupt resource. On Intel Braswell project GpioInt is used
> instead of interrupt resource and the keyboard driver fails to
> register interrupt.
> Fix the issue by parsing GpioInt resource type.
>
> Signed-off-by: Jagadish Krishnamoorthy <jagadish.krishnamoorthy@xxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Fixed the paranthesis pointed out by Mika and applied
with his review tag.

Yours,
Linus Walleij