pinctrl: amd: Implement irq_set_wake
authorRaul E Rangel <rrangel@chromium.org>
Thu, 29 Apr 2021 22:34:24 +0000 (16:34 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 19 May 2021 00:20:05 +0000 (02:20 +0200)
commitd62bd5ce12d79bcd6a6c3e4381daa7375dc21158
tree9e75465d992fbbd048e6e4abf7e5e093355c53b9
parentac5f8197d15cf37d7ae37ff5b6438abe6c8509a6
pinctrl: amd: Implement irq_set_wake

This allows the OS to control which devices produce wake events.

$ grep enabled /sys/kernel/irq/*/wakeup
/sys/kernel/irq/24/wakeup:enabled

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Link: https://lore.kernel.org/r/20210429163341.1.I7631534622233689dd81410525e0dd617b9b2012@changeid
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-amd.c