未验证 提交 bde8b388 编写于 作者: R Ranjani Sridharan 提交者: Mark Brown

ASoC: topology: create TLV data for dapm widgets

This patch adds the change required to create the TLV data
for dapm widget kcontrols from topology. This also fixes the following
TLV read error shown in amixer while showing the card control contents.
"amixer: Control hw:1 element TLV read error: No such device or address"
Signed-off-by: NRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 7928b2cb
...@@ -1272,6 +1272,9 @@ static struct snd_kcontrol_new *soc_tplg_dapm_widget_dmixer_create( ...@@ -1272,6 +1272,9 @@ static struct snd_kcontrol_new *soc_tplg_dapm_widget_dmixer_create(
kfree(sm); kfree(sm);
continue; continue;
} }
/* create any TLV data */
soc_tplg_create_tlv(tplg, &kc[i], &mc->hdr);
} }
return kc; return kc;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册