OSDN Git Service

ASoC: SOF: Intel: hda: modify core_power_up/down op
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Thu, 10 Sep 2020 16:41:23 +0000 (19:41 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 11 Sep 2020 14:29:30 +0000 (15:29 +0100)
commit914fab3b43633d03eb40e3216cc2857864589c60
tree266ba44502371177fb572f26b3a3012a608672ba
parent64b969177c744a76142f45823dd9d94c38f79cd0
ASoC: SOF: Intel: hda: modify core_power_up/down op

Modify the core_power_up/down ops for HDA platforms to restrict
the core_mask to the ones allowed by chip->cores_mask. This is needed
because on some HDA platforms not all cores can be powered up/down
by the host and this must be handled internally in the FW.

Signed-off-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>
Reviewed-by: Keyon Jie <yang.jie@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/20200910164125.2033062-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c