]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: mediatek: mt8195: Add pm_ops
authorZhiyong Tao <zhiyong.tao@mediatek.com>
Sat, 11 Sep 2021 07:10:46 +0000 (15:10 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Sep 2021 22:32:24 +0000 (00:32 +0200)
commit2716a14334056dc13b72f9aabb821e9a70d87841
tree20e97a704409037f40da3b44af87693d720e3e0e
parente4c1314454d140f346c455b571363ea86dd56561
pinctrl: mediatek: mt8195: Add pm_ops

Setting this up will configure wake from suspend properly,
and wake only for the interrupts that are setup in wake_mask,
not all interrupts.

Fixes: 34d107b84d26c299376f9e3bb11c0ab9142e0f42 ("pinctrl: add pinctrl driver on mt8195")
Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20210911071046.17349-2-zhiyong.tao@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt8195.c