ASoC: SOF: topology: remove incorrect widget id in error message
authorYong Zhi <yong.zhi@intel.com>
Fri, 26 Apr 2024 15:38:59 +0000 (10:38 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 29 Apr 2024 15:16:34 +0000 (00:16 +0900)
commit490e6c9b81e0c22087d250246717aee26ac5002e
treed13a747eaf497bd835e4dc6bcbf0ab9cbf3f2274
parentb32487ca7b51ce430f15ec785269f11c25a6a560
ASoC: SOF: topology: remove incorrect widget id in error message

In sof_widget_ready() function, the shift field of
struct snd_soc_tplg_dapm_widget is incorrectly used to print
widget id in dev_err(scomp->dev, "error: failed to add widget id %d ..",
this patch removes the useless tw->shift from the error output.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@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/20240426153902.39560-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c