ASoC: topology: use name_prefix for new kcontrol
[sfrench/cifs-2.6.git] / sound / soc / soc-topology.c
index 1f81cd2d29cfa3ff8dbc81c2863aa6d3b4676e18..87f75edba3dc8454a80b7f6ece5253156e0d03d9 100644 (file)
@@ -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 */