Re: [PATCH v3 5/8] ASoC: soc-pcm: call snd_soc_dai_startup()/shutdown() once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxxxxxxxx/

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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux