]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6fbc4783690d0ccfbf2fa93ff66395fa52e5dcd5
treeba208509d8e02cc055a6b3f3e9000a55ba8bc841
parent9d4437ce365b2e9bb5146635af99fa501dfc69fb
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