ASoC: codec2codec: run callbacks in order
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 25 Jul 2019 16:59:44 +0000 (18:59 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 25 Jul 2019 17:42:15 +0000 (18:42 +0100)
commit68c907f10cd816cad2287167a1a1d77914a6d466
tree6c13cf13be404fa0f80cf1e3df4ef03a5f60be29
parent6535e831b4c867467d838f2c7866b4dce1d74679
ASoC: codec2codec: run callbacks in order

When handling dai_link events on codec to codec links, run all .startup()
callbacks on sinks and sources before running any .hw_params(). Same goes
for hw_free() and shutdown(). This is closer to the behavior of regular
dai links

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20190725165949.29699-2-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c