From: Cheng-Yi Chiang Date: Mon, 9 Nov 2020 10:34:15 +0000 (+0800) Subject: ASoC: qcom: sc7180: Add missing PM ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b2fc3029308dd1bace4c11c733eca2ef941b0e29;p=linux.git 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 Link: https://lore.kernel.org/r/20201109103415.607495-1-cychiang@chromium.org Signed-off-by: Mark Brown --- diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c index b391f64c3a801..42e366ecc689a 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);