ASoC: SOF: Intel: Switch to use the generic pm_ops.set_core_state
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 10 Jun 2022 08:35:48 +0000 (11:35 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jun 2022 12:31:42 +0000 (13:31 +0100)
commit7a5677407300e8ba6af95e66f4e8cfe23059f4a7
treeca7777820974569353272366ac5a7eb1b6c82116
parentbd3df9ff25b32b66630c283bb2e065e8bb822e72
ASoC: SOF: Intel: Switch to use the generic pm_ops.set_core_state

Instead of craft and send an IPC(3) message in hda_dsp_core_get(),
tgl_dsp_core_get() and tgl_dsp_core_put(), use the generic ops for handling
the IPC dependent implementation of core power on/off.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220610083549.16773-6-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c
sound/soc/sof/intel/tgl.c