[RFC PATCH v3 05/13] ASoC: soc-pcm: align BE 'atomicity' with that of the FE

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Oct 15 14:04:40 CEST 2021



On 10/15/21 6:22 AM, Pierre-Louis Bossart wrote:
> If this patch causes issues outside of the trigger phase, then maybe we
> could just change the BE nonatomic flag temporarily and restore it after
> taking the lock, but IMHO something else is broken in other drivers.

Now that I think of it, this wouldn't work, the type of locks for the
BEs has to be set before the trigger: the DPCM flow is that we start
from the FEs and find which BEs need to be triggered. That would prevent
us from modifying a global BE property - each FE is independent.


More information about the Alsa-devel mailing list