ASoC: Intel: broadwell: add missing pm_ops
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 12 Nov 2020 22:38:12 +0000 (16:38 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 19 Nov 2020 12:59:47 +0000 (12:59 +0000)
For some reason this ops is missing in 2 out of the 3 broadwell
drivers. Add to make sure ASoC takes care of power management.

Tested-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20201112223825.39765-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/broadwell.c

index 77c85f17aca66015888b157fff21b430d4ee23e8..69e0b13b47f4eb20f0125cad3c88eef1f10b9e3a 100644 (file)
@@ -318,6 +318,7 @@ static struct platform_driver broadwell_audio = {
        .remove = broadwell_audio_remove,
        .driver = {
                .name = "broadwell-audio",
+               .pm = &snd_soc_pm_ops
        },
 };