projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59dd178
)
pinctrl: qcom: sc7280: Add PM suspend callbacks
author
Rajendra Nayak
<rnayak@codeaurora.org>
Thu, 23 Sep 2021 09:31:27 +0000
(15:01 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 23 Sep 2021 21:09:14 +0000
(23:09 +0200)
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>
drivers/pinctrl/qcom/pinctrl-sc7280.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/qcom/pinctrl-sc7280.c
b/drivers/pinctrl/qcom/pinctrl-sc7280.c
index afddf6d60dbe650c60d92ad8ed98230da5b57379..9017ede409c9c7a3bd5410e2c9ccedaaf94dc525 100644
(file)
--- 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,