[alsa-devel] [RFC v2] ASoC: pcm: Store component running state
broonie at kernel.org
Wed Oct 9 20:22:02 CEST 2013
On Wed, Oct 09, 2013 at 04:31:16PM +0200, Markus Pargmann wrote:
> Store the state of the components to detect not matching START/STOP
> command pairs. Otherwise a component's trigger function may be called
> twice with the same command which can lead to problems.
> This is a patch which stores the state of platform, cpu_dai and codec_dai to
> call their trigger functions only if they are not already in the correct state.
No, this seems way too complex and fragile. The original idea was
better though I'm still not convinced it actually fixes the problem you
think it fixes.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Alsa-devel