diff options
author | Rajendra Nayak <[email protected]> | 2021-09-23 15:01:27 +0530 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-09-23 23:09:14 +0200 |
commit | 28406a21999152ff7faa30b194f734565bdd8e0d (patch) | |
tree | d5331830b3e9fab3f13f373b6ec7d5a8dc6e9f21 | |
parent | 59dd178e1d7cb6cac03b32aba7ed9bbce6761b6f (diff) |
pinctrl: qcom: sc7280: Add PM suspend callbacks
Use PM suspend callbacks from msm core, without this the hog_sleep
pins don't change state in suspend.
Signed-off-by: Rajendra Nayak <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r-- | drivers/pinctrl/qcom/pinctrl-sc7280.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-sc7280.c b/drivers/pinctrl/qcom/pinctrl-sc7280.c index afddf6d60dbe..9017ede409c9 100644 --- a/drivers/pinctrl/qcom/pinctrl-sc7280.c +++ b/drivers/pinctrl/qcom/pinctrl-sc7280.c @@ -1496,6 +1496,7 @@ static const struct of_device_id sc7280_pinctrl_of_match[] = { static struct platform_driver sc7280_pinctrl_driver = { .driver = { .name = "sc7280-pinctrl", + .pm = &msm_pinctrl_dev_pm_ops, .of_match_table = sc7280_pinctrl_of_match, }, .probe = sc7280_pinctrl_probe, |