From: Amadeusz Sławiński Date: Fri, 15 Oct 2021 16:12:55 +0000 (+0200) Subject: ASoC: topology: Use correct device for prints X-Git-Tag: v6.1-rc5~2159^2~59^2~33^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a710bb35a5abfbca48ed7c229205ace472692d3;p=platform%2Fkernel%2Flinux-starfive.git ASoC: topology: Use correct device for prints soc_tplg_add_dcontrol() passes device as argument which is later used to print messages. Align it with all other prints in file to use tplg->dev. Signed-off-by: Amadeusz Sławiński Signed-off-by: Cezary Rojewski Link: https://lore.kernel.org/r/20211015161257.27052-5-cezary.rojewski@intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index f03f506..f731142 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 */