]> 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)
commita635d2594cc7aa0fd1b34726ec53e67f6c23e69d
treeb1e9f5b69a5efe270452bab413df73c6d4b96f1d
parent20ddc1074dfcba88343e3e19af081e8ed2d07b64
ASoC: SOF: Intel: MTL: remove redundant snd_sof_dsp_read() call

Drop redundant CPA bit check after polling the same condition.

Fixes: 0beb503f5481 ("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