[alsa-devel] [PATCH] ASoC: samsung dma - prepare dma in start/resume trigger path

Clemens Ladisch clemens at ladisch.de
Fri Aug 24 09:15:00 CEST 2012

Dylan Reid wrote:
> On suspend all dma transactions are terminated (by the stop/suspend
> trigger calling ops->stop), they need to be set up again during resume.
> Move the prepare op to the start/resume/unpause trigger path so that dma
> and audio will restart on resume/unpause.

TRIGGER_RESUME must restart the stream at the buffer position at which
it was suspended.  If the driver is not capable of that, it must not
support TRIGGER_SUSPEND/RESUME in the first place (i.e., remove


More information about the Alsa-devel mailing list