]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dcc0c3e8ea6ead471adc93b15923819c8229890
treeb26318a20710f4fe02e2dcd1b376e0ecf78dcfa9
parent8c27e5c654afa68f70864254b8e1904593140f6d
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