aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCezary Rojewski2020-12-17 11:54:01 +0100
committerMark Brown2020-12-17 14:24:43 +0000
commitbb224c3e3e41d940612d4cc9573289cdbd5cb8f5 (patch)
tree1963f0635ec846ead59ba7e486af2ac0f8dcf9ca
parent61c7dbec33777ade95d3db58beec8d7f177868c8 (diff)
ASoC: Intel: haswell: Add missing pm_ops
haswell machine board is missing pm_ops what prevents it from undergoing suspend-resume procedure successfully. Assign default snd_soc_pm_ops so this is no longer the case. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20201217105401.27865-1-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/intel/boards/haswell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/haswell.c b/sound/soc/intel/boards/haswell.c
index c55d1239e705..c763bfeb1f38 100644
--- a/sound/soc/intel/boards/haswell.c
+++ b/sound/soc/intel/boards/haswell.c
@@ -189,6 +189,7 @@ static struct platform_driver haswell_audio = {
.probe = haswell_audio_probe,
.driver = {
.name = "haswell-audio",
+ .pm = &snd_soc_pm_ops,
},
};