mirror of https://gitee.com/openkylin/linux.git
pinctrl: mediatek: mt8183: 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. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Acked-by: Sean Wang <sean.wang@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
5c0904488a
commit
5ca1b1c5cd
|
@ -583,6 +583,7 @@ static struct platform_driver mt8183_pinctrl_driver = {
|
|||
.driver = {
|
||||
.name = "mt8183-pinctrl",
|
||||
.of_match_table = mt8183_pinctrl_of_match,
|
||||
.pm = &mtk_paris_pinctrl_pm_ops,
|
||||
},
|
||||
.probe = mt8183_pinctrl_probe,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue