ASoC: Intel: avs: Set name of control as in topology
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Thu, 18 Apr 2024 14:26:21 +0000 (16:26 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 19 Apr 2024 00:42:03 +0000 (09:42 +0900)
commit4cbb5050bffc49c716381ea2ecb07306dd46f83a
treeb08857d267b1a8fa60d99502926d0e114e28793d
parent9a039db9273b44427b3daca88173e57596545ec0
ASoC: Intel: avs: Set name of control as in topology

When creating controls attached to widgets, there are a lot of rules if
they get their name prefixed with widget name or not. Due to that
controls ended up with weirdly looking names like "ssp0_fe DSP Volume",
while topology set it to "DSP Volume".

Fix this by setting no_wname_in_kcontrol_name to true in avs topology
widgets which disables unwanted behaviour.

Fixes: be2b81b519d7 ("ASoC: Intel: avs: Parse control tuples")
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20240418142621.2487478-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/topology.c