[PATCH] Revert "Revert "gpio: omap: Fix lost edge wake-up interrupts""

Linus Walleij linus.walleij at linaro.org
Wed Oct 28 11:41:14 EDT 2020


On Wed, Oct 28, 2020 at 7:06 AM Tony Lindgren <tony at atomide.com> wrote:

> This reverts commit 579ced8fdb00b8e94304a83e3cc419f6f8eab08e.
>
> Turns out I was overly optimistic about cpu_pm blocking idle being a
> solution for handling edge interrupts. While it helps in preventing
> entering idle states that potentially lose context, we can still get
> an edge interrupt triggering while entering idle. So we need to also
> add back the workaround for seeing if there are any pending edge
> interrupts when waking up.
>
> Cc: Aaro Koskinen <aaro.koskinen at iki.fi>
> Cc: Grygorii Strashko <grygorii.strashko at ti.com>
> Cc: Keerthy <j-keerthy at ti.com>
> Cc: Ladislav Michl <ladis at linux-mips.org>
> Cc: Peter Ujfalusi <peter.ujfalusi at ti.com>
> Cc: Russell King <rmk+kernel at armlinux.org.uk>
> Cc: Tero Kristo <t-kristo at ti.com>
> Signed-off-by: Tony Lindgren <tony at atomide.com>

Patch applied for fixes!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list