Re: [PATCH] gpio: mxc: Fix disabled interrupt wake-up support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 17, 2021 at 3:44 PM Loic Poulain <loic.poulain@xxxxxxxxxx> wrote:

> A disabled/masked interrupt marked as wakeup source must be re-enable
> and unmasked in order to be able to wake-up the host. That can be done
> by flaging the irqchip with IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND.
>
> Note: It 'sometimes' works without that change, but only thanks to the
> lazy generic interrupt disabling (keeping interrupt unmasked).
>
> Reported-by: Michal Koziel <michal.koziel@xxxxxxxxxx>
> Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxx>

Looks correct:
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux