From: clemens@ladisch•de (Clemens Ladisch)
To: linux-arm-kernel@lists•infradead.org
Subject: [alsa-devel] [PATCH] ASoC: samsung dma - prepare dma in start/resume trigger path
Date: Fri, 24 Aug 2012 09:15:00 +0200 [thread overview]
Message-ID: <503729F4.5090805@ladisch.de> (raw)
In-Reply-To: <1345755069-9512-1-git-send-email-dgreid@chromium.org>
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
next prev parent reply other threads:[~2012-08-24 7:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 20:51 [PATCH] ASoC: samsung dma - prepare dma in start/resume trigger path Dylan Reid
2012-08-23 20:54 ` Dylan Reid
2012-08-24 7:15 ` Clemens Ladisch [this message]
2012-08-24 7:41 ` [alsa-devel] " Sangbeom Kim
2012-08-24 7:52 ` Dylan Reid
2012-08-24 10:06 ` Sangbeom Kim
2012-08-24 17:29 ` Dylan Reid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503729F4.5090805@ladisch.de \
--to=clemens@ladisch$(echo .)de \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox