[alsa-devel] [RFC] ASoC: pcm: Trigger all commands on error
broonie at kernel.org
Tue Oct 8 11:34:13 CEST 2013
On Tue, Oct 08, 2013 at 10:29:33AM +0200, Markus Pargmann wrote:
> To make proper error handling and only STOP functions that successfully
> started, we have to store the state of each function. The command error
> handling is done in pcm_native.c so we don't have any influence on that.
I meant just unwinding the things done in the trigger call.
> Another possibility is to explicitly allow multiple _STOPs. Then I could
> fix the driver to store the clock state. But I would prefer a generic
You're going to have to handle this anyway to be robust - what happens
if it's the clock enable that fails?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Alsa-devel