All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lrg@slimlogic.co.uk>
Subject: Re: [RFC 0/2] ASoC: core: Option to reorder widget power sequence
Date: Thu, 2 Dec 2010 13:05:16 +0000	[thread overview]
Message-ID: <20101202130516.GC859@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <1291291390-8669-1-git-send-email-peter.ujfalusi@nokia.com>

On Thu, Dec 02, 2010 at 02:03:08PM +0200, Peter Ujfalusi wrote:

> The first patch implements a new flag for the core to reorder the sequence to:
> 1. User enable the bypass
> 2. The bit enabling the bypass got changed.
> 3. DAPM power up sequence takes place
> 3.1 codec DAPM widgets got powered on, codec is enabled
> 3.2 External speaker enabled

Is this OK on power down?  On power down we'll adjust the input path to
the widget then power down the output path so noise introduced by
switching away from the current source will get amplified.  Keeping the
current sequence for power down seems more consistent with what you're
trying to do.

Looking at the mailing list archive the issues previously were partly
things being obscured by this being in terms of the then very
non-standard TWL4030 code and also this:

| I think there's something useful we can do with DAPM here (independantly
| of anything in TWL4030), probably involving splitting up the routing
| change walk to run power down first and then power up but the current
| patch feels like it's going to cause at least as many problems as it
| solves.

We've now got the split power down/power up sequences - ideally what
we'd be able to do here is get the route update to happen in between the
power down and power up sequences.

  parent reply	other threads:[~2010-12-02 13:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02 12:03 [RFC 0/2] ASoC: core: Option to reorder widget power sequence Peter Ujfalusi
2010-12-02 12:03 ` [RFC 1/2] ASoC: core: Reordered DAPM update power on widgets Peter Ujfalusi
2010-12-02 12:21   ` Mark Brown
2010-12-02 12:54     ` Peter Ujfalusi
2010-12-02 12:03 ` [RFC 2/2] ASoC: tlv320dac33: Request for reordered update power sequence Peter Ujfalusi
2010-12-02 12:24   ` Mark Brown
2010-12-02 12:52     ` Peter Ujfalusi
2010-12-02 13:15       ` Mark Brown
2010-12-03  9:36         ` Peter Ujfalusi
2010-12-02 13:05 ` Mark Brown [this message]
2010-12-03  7:33   ` [RFC 0/2] ASoC: core: Option to reorder widget " Peter Ujfalusi
2010-12-03 14:48     ` 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=20101202130516.GC859@rakim.wolfsonmicro.main \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=peter.ujfalusi@nokia.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.