diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-05-08 10:33:31 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-01 20:40:38 +0300 |
commit | 5ca1b1c5cd980216859b8f9e7724fb468f57dbeb (patch) | |
tree | f6d5fff6043bfeb1618259607d31ee7feabfd82c /drivers/pinctrl/mediatek/pinctrl-mt8183.c | |
parent | 5c0904488a20429e3de41d11f1d1adf28635e362 (diff) | |
download | linux-5ca1b1c5cd980216859b8f9e7724fb468f57dbeb.tar.xz |
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/pinctrl-mt8183.c')
-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, }; |