Searched hist:"4 e5a04be" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-amd.c | 4e5a04be Fri Oct 08 22:32:40 CDT 2021 Sachi King <nakato@nakato.io> 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>
|