ASoC: soc-topology: Move template info print soc_tplg_dapm_widget_create()
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 2 Sep 2021 11:23:01 +0000 (14:23 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 13 Sep 2021 00:59:04 +0000 (01:59 +0100)
commit8facf84bcf575e3217a15cefcc867db15dca4781
treeb26318a20710f4fe02e2dcd1b376e0ecf78dcfa9
parent198433023ef962b71f3d4274ca7a4c8f04e7ace1
ASoC: soc-topology: Move template info print soc_tplg_dapm_widget_create()

A DAPM widget now can have different types of controls, it is no longer
correct to print the type as it is just the type of the first control.

Move it after the loop where we create the controls and print the number
of the control types.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210902112301.22657-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c