From: Clemens Ladisch <clemens@ladisch.de>
To: gsantosh@codeaurora.org
Cc: alsa-devel@alsa-project.org
Subject: Re: ASoC:Question on strict sequence followed for trigger
Date: Thu, 29 Mar 2012 08:49:37 +0200 [thread overview]
Message-ID: <4F740601.8080907@ladisch.de> (raw)
In-Reply-To: <1ea6fbaaca7ffeaa7b7325f18fe4e959.squirrel@www.codeaurora.org>
gsantosh@codeaurora.org wrote:
> I see there is a strict sequence followed for trigger callback to codec
> dai, platform dai and cpu dai.
> In the below function of soc-core .
> int soc_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
>
> In some scenarios we may require the sequence to be the other case to make
> sure the underlying DSP / codec is configured and triggered properly.
The trigger callback should do nothing but actually start the stream.
(In the ideal case, this would be setting one bit in a register of the
DMA controller.)
Any configuration should be done in hw_params.
Regards,
Clemens
next prev parent reply other threads:[~2012-03-29 6:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 0:25 ASoC:Question on strict sequence followed for trigger gsantosh
2012-03-29 6:49 ` Clemens Ladisch [this message]
2012-03-29 11:19 ` Mark Brown
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=4F740601.8080907@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=gsantosh@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.