Thread (7 messages) flat view 7 messages, 3 authors, 2012-08-24

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

From: clemens@ladisch.de (Clemens Ladisch)
Date: 2012-08-24 07:15:00
Also in: alsa-devel

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
SNDRV_PCM_INFO_RESUME).


Regards,
Clemens
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help