diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-05-08 15:33:31 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-01 19:40:38 +0200 |
commit | 5ca1b1c5cd980216859b8f9e7724fb468f57dbeb (patch) | |
tree | f6d5fff6043bfeb1618259607d31ee7feabfd82c /drivers/pinctrl/mediatek | |
parent | 5c0904488a20429e3de41d11f1d1adf28635e362 (diff) |
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>
Diffstat (limited to 'drivers/pinctrl/mediatek')
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-mt8183.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8183.c b/drivers/pinctrl/mediatek/pinctrl-mt8183.c index 2c7409ed16fa..9a74d5025be6 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, }; |