Re: [PATCH 1/4] ASoC: codec2codec: avoid invalid/double-free of pcm runtime
From: Jerome Brunet
Date: Thu Feb 13 2020 - 08:37:23 EST
On Thu 13 Feb 2020 at 12:37, Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Thu, Feb 13, 2020 at 09:37:18AM +0100, Jerome Brunet wrote:
>
>> This brings another question/problem:
>> A link which has failed in PMU, could try in PMD to hw_free/shutdown a
>> dai which has not gone through startup/hw_params, right ?
>
> I think so, yes.
Maybe this can be solved using the dai active counts which the
codec-to-codec event is not updating. I'll try to come up with
something.