Commit b2fc3029 authored by Cheng-Yi Chiang's avatar Cheng-Yi Chiang Committed by Mark Brown

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: default avatarCheng-Yi Chiang <cychiang@chromium.org>
Link: https://lore.kernel.org/r/20201109103415.607495-1-cychiang@chromium.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 95370acd
...@@ -258,6 +258,7 @@ static struct platform_driver sc7180_snd_driver = { ...@@ -258,6 +258,7 @@ static struct platform_driver sc7180_snd_driver = {
.driver = { .driver = {
.name = "msm-snd-sc7180", .name = "msm-snd-sc7180",
.of_match_table = sc7180_snd_device_id, .of_match_table = sc7180_snd_device_id,
.pm = &snd_soc_pm_ops,
}, },
}; };
module_platform_driver(sc7180_snd_driver); module_platform_driver(sc7180_snd_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment