From: Nicolas Boichat Date: Wed, 8 May 2019 07:33:31 +0000 (+0800) Subject: pinctrl: mediatek: mt8183: Add pm_ops X-Git-Tag: v5.4-rc1~577^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ca1b1c5cd980216859b8f9e7724fb468f57dbeb;p=platform%2Fkernel%2Flinux-rpi.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 Acked-by: Sean Wang Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8183.c b/drivers/pinctrl/mediatek/pinctrl-mt8183.c index 2c7409e..9a74d50 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8183.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8183.c @@ -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, };