diff options
author | 2020-04-01 18:05:24 +0900 | |
---|---|---|
committer | 2020-04-01 12:06:28 +0100 | |
commit | abca9e4a04fbe9c6df4d48ca7517e1611812af25 (patch) | |
tree | 2cf58b4edd36866ad4c64c0020081e9a210f9a0a /sound/soc/soc-topology.c | |
parent | ASoC: rt5682: Fix build error without CONFIG_I2C (diff) | |
download | linux-abca9e4a04fbe9c6df4d48ca7517e1611812af25.tar.gz linux-abca9e4a04fbe9c6df4d48ca7517e1611812af25.tar.bz2 linux-abca9e4a04fbe9c6df4d48ca7517e1611812af25.zip |
ASoC: topology: use name_prefix for new kcontrol
Current topology doesn't add prefix of component to new kcontrol.
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Link: https://lore.kernel.org/r/009b01d60804$ae25c2d0$0a714870$@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-topology.c')
-rw-r--r-- | sound/soc/soc-topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index 1f81cd2d29cf..87f75edba3dc 100644 --- a/sound/soc/soc-topology.c +++ b/sound/soc/soc-topology.c @@ -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 */ |