mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 16:10:56 +07:00
ASoC: topology: Fix usage of SND_SOC_TPLG_INDEX_ALL during load
SND_SOC_TPLG_INDEX_ALL is used by drivers to tell the core to load all topology component indexes, not just the index in the header. Fix this so that SND_SOC_TPLG_INDEX_ALL will load all components no matter their index. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
ebd259d33a
commit
bb97142bcf
@ -2381,7 +2381,7 @@ static int soc_tplg_load_header(struct soc_tplg *tplg,
|
||||
|
||||
/* check for matching ID */
|
||||
if (hdr->index != tplg->req_index &&
|
||||
hdr->index != SND_SOC_TPLG_INDEX_ALL)
|
||||
tplg->req_index != SND_SOC_TPLG_INDEX_ALL)
|
||||
return 0;
|
||||
|
||||
tplg->index = hdr->index;
|
||||
|
Loading…
Reference in New Issue
Block a user