snd_dmaengine_pcm_trigger9
Dmaengine based pcm trigger implementation
Usage
int snd_dmaengine_pcm_trigger(struct snd_pcm_substream * substream, int cmd);
Arguments
substream
PCM substream
cmd
Trigger command
Overview
Returns 0 on success, a negative error code otherwise.
This function can be used as the PCM trigger callback for dmaengine based PCM driver implementations.