Skip to content

Commit d1ae348

Browse files
ranj063ZhengShunQian
authored andcommitted
ASoC: topology: create TLV data for dapm widgets
[ Upstream commit bde8b38 ] 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: Ranjani Sridharan <[email protected]> Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4f4697b commit d1ae348

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/soc-topology.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,6 +1188,9 @@ static struct snd_kcontrol_new *soc_tplg_dapm_widget_dmixer_create(
11881188
kfree(sm);
11891189
continue;
11901190
}
1191+
1192+
/* create any TLV data */
1193+
soc_tplg_create_tlv(tplg, &kc[i], &mc->hdr);
11911194
}
11921195
return kc;
11931196

0 commit comments

Comments
 (0)