All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/4] ASoC: topology: use name_prefix for new kcontrol
       [not found] <CGME20200414015104epcas2p3340ef8a5e262d2d774ec1b5b49f559d0@epcas2p3.samsung.com>
@ 2020-04-14  1:51 ` Gyeongtaek Lee
  0 siblings, 0 replies; only message in thread
From: Gyeongtaek Lee @ 2020-04-14  1:51 UTC (permalink / raw)
  To: stable; +Cc: broonie, tiwai, tkjung, hmseo, tkjung, kimty

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>
---
 sound/soc/soc-topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index b19ecaf0febf..17556a47f727 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 */
-- 
2.21.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-14  1:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200414015104epcas2p3340ef8a5e262d2d774ec1b5b49f559d0@epcas2p3.samsung.com>
2020-04-14  1:51 ` [PATCH 4/4] ASoC: topology: use name_prefix for new kcontrol Gyeongtaek Lee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.