ASoC: SOF: Intel: MTL: remove the unnecessary snd_sof_dsp_read()
authorYong Zhi <yong.zhi@intel.com>
Thu, 22 Sep 2022 21:36:44 +0000 (14:36 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 23 Sep 2022 12:56:21 +0000 (13:56 +0100)
commit68fb254e9ccca9e3f832f86b707eb2551aa5b86d
treeba208509d8e02cc055a6b3f3e9000a55ba8bc841
parent6ae87bab269b347c725893ee162a0ad03ecca97c
ASoC: SOF: Intel: MTL: remove the unnecessary snd_sof_dsp_read()

The return val of snd_sof_dsp_read() right before polling the same
register is not used, so remove the redundant call.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220922213644.666315-11-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/mtl.c