ASoC: SOF: Intel: HDA: fix core status verification
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Mon, 22 Mar 2021 16:37:21 +0000 (11:37 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 23 Mar 2021 17:14:24 +0000 (17:14 +0000)
commit927280909fa7d8e61596800d82f18047c6cfbbe4
tree5f2a0bf5b49f6998c7e5e372326e6eb734ef7270
parentf9dc51cc6676e0360dfcb1836b3d426a3ccf3093
ASoC: SOF: Intel: HDA: fix core status verification

When checking for enabled cores it isn't enough to check that
some of the requested cores are running, we have to check that
all of them are.

Fixes: 747503b1813a ("ASoC: SOF: Intel: Add Intel specific HDA DSP HW operations")
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210322163728.16616-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c