Message ID | 20211015161257.27052-5-cezary.rojewski@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2a710bb35a5abfbca48ed7c229205ace472692d3 |
Headers | show |
Series | ASoC: Sanity checks and soc-topology updates | expand |
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index 5b73e1455c23..712b706af677 100644 --- a/sound/soc/soc-topology.c +++ b/sound/soc/soc-topology.c @@ -351,7 +351,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, comp->name_prefix, comp, kcontrol); + tplg->dev, k, comp->name_prefix, comp, kcontrol); } /* remove a mixer kcontrol */