mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 17:27:11 -04:00
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>
This commit is contained in:
committed by
Mark Brown
parent
95370acdb8
commit
b2fc302930
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user