]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19b48f1cc7532c2709b1471e6817f622999ba153
tree6c13cf13be404fa0f80cf1e3df4ef03a5f60be29
parente61de19115e3019908f5082de6cf2640988f6a83
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