Re: [PATCH 1/6] ASoC: codec2codec: run callbacks in order

From: Jerome Brunet
Date: Thu Jul 25 2019 - 14:06:29 EST


On Thu 25 Jul 2019 at 14:00, Mark Brown <broonie@xxxxxxxxxx> wrote:

> 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

I did rebase against next and saw Morimoto-san's patchset. I must have
messed up when formatting the patches, sorry about that. I'll resend.