pinctrl: qcom: sc7280: Add PM suspend callbacks
Subsystems (5)
PATCH v2 1/1 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]>
---
v2: removed some stale diffstat
drivers/pinctrl/qcom/pinctrl-sc7280.c | 1 + 1 file changed, 1 insertion(+)
drivers/pinctrl/qcom/pinctrl-sc7280.c +1 -0
@@ -1498,6 +1498,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,
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Quoted 4 lines · Rajendra Nayak
Use PM suspend callbacks from msm core, without this the
hog_sleeppins don't change state in suspend.Signed-off-by Rajendra Nayak <[email protected]>
Reviewed-by Bjorn Andersson <[email protected]>
Quoted 22 lines
---
v2: removed some stale diffstatdrivers/pinctrl/qcom/pinctrl-sc7280.c | 1 + 1 file changed, 1 insertion(+)drivers/pinctrl/qcom/pinctrl-sc7280.c +1
-0@@ -1498,6 +1498,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,Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Quoted 6 lines · Rajendra Nayak
Use PM suspend callbacks from msm core, without this the
hog_sleeppins don't change state in suspend.Signed-off-by Rajendra Nayak <[email protected]>---
v2: removed some stale diffstat
Patch applied for fixes!
Yours,
Linus Walleij