ASoC: topology: use name_prefix for new kcontrol
A message that is not in the archive (sent off-list or not yet received): CGME20200330073555epcas2p47495e0e0435e6cf34e6a5d7e248a3e80@epcas2p4.samsung.com
PATCH 2/3 ASoC: topology: use name_prefix for new kcontrol
Current topology doesn't add prefix of the component to newly created kcontrol.
Signed-off-by Gyeongtaek Lee <[email protected]>
--- sound/soc/soc-topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-topology.c +1 -1
@@ -362,7 +362,7 @@ static int soc_tplg_add_kcontrol(struct soc_tplg *tplg,struct snd_soc_component *comp = tplg->comp; return soc_tplg_add_dcontrol(comp->card->snd_card, - comp->dev, k,NULL , comp, kcontrol); + comp->dev, k, comp->name_prefix, comp,
kcontrol);
}
/* remove a mixer kcontrol */
Signature · 1 line
2.21.0
Mark Brown
maintainerQuoted 4 lines · �̰���
sound/soc/soc-topology.c +1
-1return soc_tplg_add_dcontrol(comp->card->snd_card, - comp->dev, k,NULL , comp, kcontrol); + comp->dev, k, comp->name_prefix, comp,kcontrol);
This has word wrapping damage too.