Re: [PATCH v2] pinctrl: amd: disable and mask interrupts on probe

From: Linus Walleij
Date: Sat Oct 16 2021 - 17:58:06 EST


On Sat, Oct 9, 2021 at 5:33 AM Sachi King <nakato@xxxxxxxxx> wrote:

> Some systems such as the Microsoft Surface Laptop 4 leave interrupts
> enabled and configured for use in sleep states on boot, which cause
> unexpected behaviour such as spurious wakes and failed resumes in
> s2idle states.
>
> As interrupts should not be enabled until they are claimed and
> explicitly enabled, disabling any interrupts mistakenly left enabled by
> firmware should be safe.
>
> Signed-off-by: Sachi King <nakato@xxxxxxxxx>

This v2 version applied for fixes.

Yours,
Linus Walleij