summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2020-12-17 11:54:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-27 11:05:36 +0100
commit8a55e384c1b527444773fe1933284ed045a20287 (patch)
treeaa04f7aa4198d6db8471bde3d055dae8f5098872 /sound
parent9edfa9e4a83d07cd932048a7ee2b61ed326d93fd (diff)
downloadlinux-stable-8a55e384c1b527444773fe1933284ed045a20287.tar.gz
linux-stable-8a55e384c1b527444773fe1933284ed045a20287.tar.bz2
linux-stable-8a55e384c1b527444773fe1933284ed045a20287.zip
ASoC: Intel: haswell: Add missing pm_ops
[ Upstream commit bb224c3e3e41d940612d4cc9573289cdbd5cb8f5 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
-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 a4022983a7ce..67eb4a446c3c 100644
--- a/sound/soc/intel/boards/haswell.c
+++ b/sound/soc/intel/boards/haswell.c
@@ -198,6 +198,7 @@ static struct platform_driver haswell_audio = {
.probe = haswell_audio_probe,
.driver = {
.name = "haswell-audio",
+ .pm = &snd_soc_pm_ops,
},
};