All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Rajeev kumar <rajeev-dlh.kumar@st.com>
Cc: alsa-devel@alsa-project.org, lrg@slimlogic.co.uk
Subject: Re: Audio:suspend to ram issue
Date: Fri, 19 Aug 2011 01:25:36 +0900	[thread overview]
Message-ID: <20110818162535.GG20208@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <4E4CEEB9.2000604@st.com>

On Thu, Aug 18, 2011 at 04:21:37PM +0530, Rajeev kumar wrote:

> Is there any difference between these two suspend  ctrl-z and echo
> mem > /sys/power/state.

Yes.  For example in system suspend it is likely that some of the system
power supplies will be disabled and low power states will be entered
which cause register contents to be lost.

> While going through the alsa framework I found that suspend and
> resume functionality is handled by
> the framework itself.Please correct me if my understanding is not correct.

DAPM will be taken care of but there is usually some other work
required, if only restoring the register maps of devices.  There are
callbacks into the individual drivers in order to allow them to take
whatever action is required to quiesce and restore the device.

  reply	other threads:[~2011-08-18 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-18  6:05 Audio:suspend to ram issue Rajeev kumar
2011-08-18 10:51 ` Rajeev kumar
2011-08-18 16:25   ` Mark Brown [this message]
2011-08-19  4:23     ` Rajeev kumar
2011-08-19  8:21       ` Mark Brown
2011-08-18 16:22 ` 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=20110818162535.GG20208@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=rajeev-dlh.kumar@st.com \
    /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.