Merge branch 'asoc-5.4' into asoc-next
[linux-2.6-block.git] / sound / soc / soc-topology.c
index 2eca85c04a3e606863fcfba0e2cb6afb4657c32f..aa9a1fca46fa7832271ff0d3919959f94dfaa0a4 100644 (file)
@@ -524,7 +524,7 @@ static void remove_dai(struct snd_soc_component *comp,
        if (dobj->ops && dobj->ops->dai_unload)
                dobj->ops->dai_unload(comp, dobj);
 
-       list_for_each_entry(dai, &comp->dai_list, list)
+       for_each_component_dais(comp, dai)
                if (dai->driver == dai_drv)
                        dai->driver = NULL;