diff options
author | Sachi King <nakato@nakato.io> | 2021-10-09 06:32:40 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-10-17 00:56:59 +0300 |
commit | 4e5a04be88fe335ad5331f4f8c17f4ebd357e065 (patch) | |
tree | 25cab30b117c4138f4d5cde3a5275046ad16acbb /drivers/pinctrl/pinconf.c | |
parent | c370bb474016ab9edfdabd7c08a88dd13a71ddbd (diff) | |
download | linux-4e5a04be88fe335ad5331f4f8c17f4ebd357e065.tar.xz |
pinctrl: amd: disable and mask interrupts on probe
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@nakato.io>
Link: https://lore.kernel.org/r/20211009033240.21543-1-nakato@nakato.io
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf.c')
0 files changed, 0 insertions, 0 deletions