pinctrl: mediatek: mt8183: Add pm_ops
authorNicolas Boichat <drinkcat@chromium.org>
Wed, 8 May 2019 07:33:31 +0000 (15:33 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 1 Jun 2019 17:40:38 +0000 (19:40 +0200)
commit5ca1b1c5cd980216859b8f9e7724fb468f57dbeb
treef6d5fff6043bfeb1618259607d31ee7feabfd82c
parent5c0904488a20429e3de41d11f1d1adf28635e362
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>
drivers/pinctrl/mediatek/pinctrl-mt8183.c