]> 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)
commit68d466990efec9e24c2589b36b9602133ec19512
treeb26318a20710f4fe02e2dcd1b376e0ecf78dcfa9
parent0c4210b89261d8e96769550f2711cb8dbc8c5d2d
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