Skip to content

Commit abca9e4

Browse files
gt82leebroonie
authored andcommitted
ASoC: topology: use name_prefix for new kcontrol
Current topology doesn't add prefix of component to new kcontrol. Signed-off-by: Gyeongtaek Lee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 59564e1 commit abca9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/soc-topology.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ static int soc_tplg_add_kcontrol(struct soc_tplg *tplg,
362362
struct snd_soc_component *comp = tplg->comp;
363363

364364
return soc_tplg_add_dcontrol(comp->card->snd_card,
365-
comp->dev, k, NULL, comp, kcontrol);
365+
comp->dev, k, comp->name_prefix, comp, kcontrol);
366366
}
367367

368368
/* remove a mixer kcontrol */

0 commit comments

Comments
 (0)