diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index 12e1897019240daa7bc3d3ee16533dece4444a34..6070e35455aa3743ec64c669c3287e5bfb2aaac0 100644 --- a/sound/soc/soc-topology.c +++ b/sound/soc/soc-topology.c @@ -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;