projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bcead1
)
ASoC: topology: use name_prefix for new kcontrol
author
이경택
<gt82.lee@samsung.com>
Wed, 1 Apr 2020 09:05:24 +0000
(18:05 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 24 Apr 2020 05:58:50 +0000
(07:58 +0200)
commit
abca9e4a04fbe9c6df4d48ca7517e1611812af25
upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-topology.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-topology.c
b/sound/soc/soc-topology.c
index 086fe4d27f60b26394bff5820a2ae9302abce8a8..e9c57bd3c02bf87d14bb2675027ec3d2896c5e6e 100644
(file)
--- a/
sound/soc/soc-topology.c
+++ b/
sound/soc/soc-topology.c
@@
-344,7
+344,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 */