Skip to content

Commit 15bf183

Browse files
bardliaobroonie
authored andcommitted
ASoC: SOF: topology: fix: parse hda_tokens to &config->hda
Items in hda_tokens are for &config->hda. So fix it to the right object. This error has been harmless as hda_tokens array was empty. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20200415202816.934-22-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent c7fc96d commit 15bf183

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/soc/sof/topology.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3074,7 +3074,7 @@ static int sof_link_hda_load(struct snd_soc_component *scomp, int index,
30743074
config->hdr.size = size;
30753075

30763076
/* get any bespoke DAI tokens */
3077-
ret = sof_parse_tokens(scomp, config, hda_tokens,
3077+
ret = sof_parse_tokens(scomp, &config->hda, hda_tokens,
30783078
ARRAY_SIZE(hda_tokens), private->array,
30793079
le32_to_cpu(private->size));
30803080
if (ret != 0) {

0 commit comments

Comments
 (0)