]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: MTL: remove redundant snd_sof_dsp_read() call
authorYong Zhi <yong.zhi@intel.com>
Fri, 15 Jul 2022 14:52:06 +0000 (09:52 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 15 Jul 2022 19:11:29 +0000 (20:11 +0100)
commit4d5d86bd944101c5f5c3ae493b0b54c30c9b2e9f
treeb1e9f5b69a5efe270452bab413df73c6d4b96f1d
parentfb65cfc8bca3a8543c6ae3b84e96f5151c8c652a
ASoC: SOF: Intel: MTL: remove redundant snd_sof_dsp_read() call

Drop redundant CPA bit check after polling the same condition.

Fixes: 7ecb12d8acf9 ("ASoC: SOF: Intel: Add support for MeteorLake (MTL)")
Reviewed-by: Chao Song <chao.song@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220715145216.277003-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/mtl.c