On Wed, Jul 24, 2019 at 06:24:00PM +0200, Jerome Brunet wrote:
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
This looks good but needs rebasing against -next due to Morimoto-san's recent DAI changes:
CC sound/soc/soc-dapm.o sound/soc/soc-dapm.c: In function ‘snd_soc_dai_link_event’: sound/soc/soc-dapm.c:3857:10: error: implicit declaration of function ‘soc_dai_hw_params’; did you mean ‘snd_soc_dai_hw_params’? [-Werror=implicit-function-declaration] ret = soc_dai_hw_params(&substream, params, source); ^~~~~~~~~~~~~~~~~ snd_soc_dai_hw_params