From: Nicolin Chen <b42378@freescale.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, shawn.guo@linaro.org, lgirdwood@gmail.com
Subject: Re: [PATCH] ASoC: Add pinctrl PM to components of active DAIs
Date: Tue, 29 Oct 2013 10:06:34 +0800 [thread overview]
Message-ID: <20131029020633.GA8386@MrMyself> (raw)
In-Reply-To: <20131028164405.GK13643@sirena.org.uk>
On Mon, Oct 28, 2013 at 09:44:05AM -0700, Mark Brown wrote:
> > + for (i = 0; i < card->num_rtd; i++) {
> > + struct snd_soc_pcm_runtime *rtd = &card->rtd[i];
> > + struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
> > + pinctrl_pm_select_default_state(cpu_dai->dev);
> > + }
> > +
>
> This is going to put the pins into the default state during resume,
> that'll mean that if we're resuming a device which wasn't in use over
> suspend it'll be left in the default state after resume instead of in
> the idle state.
>
> I'd expect the selection of the default state to be part of starting an
> audio stream and to only do something to active streams on suspend and
> resume.
You're right. I'll refine it soon.
Thank you,
Nicolin Chen
prev parent reply other threads:[~2013-10-29 2:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-25 10:05 [PATCH] ASoC: Add pinctrl PM to components of active DAIs Nicolin Chen
2013-10-28 16:44 ` Mark Brown
2013-10-29 2:06 ` Nicolin Chen [this message]
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=20131029020633.GA8386@MrMyself \
--to=b42378@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=shawn.guo@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).