[alsa-devel] [PATCH v3 5/8] ASoC: soc-pcm: call snd_soc_dai_startup()/shutdown() once
Amadeusz Sławiński
amadeuszx.slawinski at linux.intel.com
Mon Mar 30 09:25:31 CEST 2020
On 3/30/2020 3:10 AM, Kuninori Morimoto wrote:
>
> Hi Amadeusz, Pierre-Louis
>
> Thank you for your feedback, and sorry to bother you.
>
>>> the above change breaks simultaneous playback and capture on single
>>> DAI in more complicated use cases. With above change when one runs
>>> playback first, startup callback is skipped when running capture
>>> while playback is still running.
>
> Similar issue had been happened on component open before.
> https://lore.kernel.org/alsa-devel/20200219182650.1416-1-kai.vehmanen@linux.intel.com/
>
> I'm so sorry but this is bug.
> In my quick check, this patch is not related to other patches.
> So, just reverting it is nice idea, I think.
>
>> Should the 'started' bitfield should be an array for capture and
>> playback cases respectively? e.g.
>
> Yeah.
> But, I will re-try this issue (for DAI, for Component) again.
> Let's just revert it so far.
> Is it OK for you ?
>
> Thank you for your help !!
>
Hi,
I tested patch from Pierre and it works for me, I'm also ok with revert.
Thanks,
Amadeusz
More information about the Alsa-devel
mailing list