summaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom
diff options
context:
space:
mode:
authorCheng-Yi Chiang <cychiang@chromium.org>2020-11-09 18:34:15 +0800
committerMark Brown <broonie@kernel.org>2020-11-09 17:43:15 +0000
commitb2fc3029308dd1bace4c11c733eca2ef941b0e29 (patch)
treee19abda81bd02eef6214ccd8bcc6b87073fe64ec /sound/soc/qcom
parent95370acdb87d73b12a0e6895fa422a6409d14a01 (diff)
ASoC: qcom: sc7180: Add missing PM ops
Use PM ops snd_soc_pm_ops to handle suspend/resume like other machine drivers. Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org> Link: https://lore.kernel.org/r/20201109103415.607495-1-cychiang@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r--sound/soc/qcom/sc7180.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c
index b391f64c3a80..42e366ecc689 100644
--- a/sound/soc/qcom/sc7180.c
+++ b/sound/soc/qcom/sc7180.c
@@ -258,6 +258,7 @@ static struct platform_driver sc7180_snd_driver = {
.driver = {
.name = "msm-snd-sc7180",
.of_match_table = sc7180_snd_device_id,
+ .pm = &snd_soc_pm_ops,
},
};
module_platform_driver(sc7180_snd_driver);