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 <rnayak@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1632389487-11283-1-git-send-email-rnayak@codeaurora.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Rajendra Nayak 2021-09-23 15:01:27 +05:30 committed by Linus Walleij
parent 59dd178e1d
commit 28406a2199
1 changed files with 1 additions and 0 deletions

View File

@ -1496,6 +1496,7 @@ static const struct of_device_id sc7280_pinctrl_of_match[] = {
static struct platform_driver sc7280_pinctrl_driver = { static struct platform_driver sc7280_pinctrl_driver = {
.driver = { .driver = {
.name = "sc7280-pinctrl", .name = "sc7280-pinctrl",
.pm = &msm_pinctrl_dev_pm_ops,
.of_match_table = sc7280_pinctrl_of_match, .of_match_table = sc7280_pinctrl_of_match,
}, },
.probe = sc7280_pinctrl_probe, .probe = sc7280_pinctrl_probe,