UPSTREAM: ASoC: SOF: topology: Check w->sname validity once in sof_connect_dai_widget()
The 'w' (struct snd_soc_dapm_widget) is not changing within the function, there is no reason to check the w->sname more than once as it is not going to change. Reviewed-by:Bard Liao <yung-chuan.liao@linux.intel.com> Change-Id: Ifa72904e93d19449a7caff2f3ccd0ca04251a77a Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by:
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220421201847.1545686-1-pierre-louis.bossart@linux.intel.com Signed-off-by:
Mark Brown <broonie@kernel.org>
parent
5e8f2e46
No related branches found
No related tags found
-
mentioned in commit clea-os/layers/seco/meta-seco-mtk@01714856
-
mentioned in merge request clea-os/layers/seco/meta-seco-mtk!25 (closed)
Please register or sign in to comment