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>alistair/sunxi64-5.4-dsi
parent
5c0904488a
commit
5ca1b1c5cd
|
@ -583,6 +583,7 @@ static struct platform_driver mt8183_pinctrl_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mt8183-pinctrl",
|
.name = "mt8183-pinctrl",
|
||||||
.of_match_table = mt8183_pinctrl_of_match,
|
.of_match_table = mt8183_pinctrl_of_match,
|
||||||
|
.pm = &mtk_paris_pinctrl_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = mt8183_pinctrl_probe,
|
.probe = mt8183_pinctrl_probe,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue