summaryrefslogtreecommitdiff
path: root/sound/soc/sof/intel/hda.h
diff options
context:
space:
mode:
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>2021-11-19 21:26:15 +0200
committerMark Brown <broonie@kernel.org>2021-11-22 15:40:18 +0000
commit41dd63cccb42ec26f555cbb2495d85828a4b0e96 (patch)
tree84b273b4a8a6196972ab46cd050f7d7b2c31aec3 /sound/soc/sof/intel/hda.h
parentc414d5df9d05471aa47f50fca7fa4412daca7ac7 (diff)
downloadlwn-41dd63cccb42ec26f555cbb2495d85828a4b0e96.tar.gz
lwn-41dd63cccb42ec26f555cbb2495d85828a4b0e96.zip
ASoC: SOF: Intel: TGL: set core_get/put ops
Set core_get/put() ops for TGL. When core_get() is requested for a core, its ref_count is incremented and the PM_CORE_ENABLE IPC sent to the firmware to power up the core if the current ref_count is 1. Conversely, the ref_count is decremented in core_put() and an IPC is sent to the DSP to power off the core if the ref_count is 0. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20211119192621.4096077-5-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/hda.h')
0 files changed, 0 insertions, 0 deletions