]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: SOF: Intel: CNL: add set_power_state() ops
authorKeyon Jie <yang.jie@linux.intel.com>
Fri, 25 Oct 2019 22:41:01 +0000 (17:41 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 28 Oct 2019 14:41:29 +0000 (14:41 +0000)
Using hda_dsp_set_power_state() as set_power_state() ops for cnl to do
d0ix platform configuration updates.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191025224122.7718-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/cnl.c

index e9cdcc040fb5d5560025eb37a7cc5e2dcf76d275..982b81a0b13a1fd0103ff0c4b48c1f94759528a2 100644 (file)
@@ -255,6 +255,7 @@ const struct snd_sof_dsp_ops sof_cnl_ops = {
        .runtime_resume         = hda_dsp_runtime_resume,
        .runtime_idle           = hda_dsp_runtime_idle,
        .set_hw_params_upon_resume = hda_dsp_set_hw_params_upon_resume,
+       .set_power_state        = hda_dsp_set_power_state,
 
        /* ALSA HW info flags */
        .hw_info =      SNDRV_PCM_INFO_MMAP |