alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Vasily Khoruzhick <anarsoul@gmail.com>
Cc: alsa-devel <alsa-devel@alsa-project.org>,
	Philipp Zabel <philipp.zabel@gmail.com>,
	Liam Girdwood <lrg@slimlogic.co.uk>
Subject: Re: [PATCH 1/2] ASoC: uda1380: make driver more powersave-friendly
Date: Sat, 28 Aug 2010 10:14:46 +0100	[thread overview]
Message-ID: <20100828091435.GC9324@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <201008281208.01273.anarsoul@gmail.com>

On Sat, Aug 28, 2010 at 12:07:54PM +0300, Vasily Khoruzhick wrote:

> It seems that you misunderstood me, chip defaults are ok for first power up, 
> but resume is not first power up and codec defaults differ from cache, so we 
> want to sync cache with codec regs on resume, but it is not possible to sync 
> mixer regs until i2s clock is not applied, so we just mark them as dirty to 
> sync them later (just before playback, when i2s clock is already applied)

The normal flow for this is to mark things as dirty when you cut the
power rather than in one particular restore path - that is more robust
against code changes which alter the set of situations which can turn
off the power.

  reply	other threads:[~2010-08-28  9:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28  7:49 [PATCH 0/2] ASoC: Add iPAQ RX1950 sound support Vasily Khoruzhick
2010-08-28  7:49 ` [PATCH 1/2] ASoC: uda1380: make driver more powersave-friendly Vasily Khoruzhick
2010-08-28  8:56   ` Mark Brown
2010-08-28  9:07     ` Vasily Khoruzhick
2010-08-28  9:14       ` Mark Brown [this message]
2010-08-28  9:17         ` Vasily Khoruzhick
2010-08-28 11:34         ` [PATCH v2 " Vasily Khoruzhick
2010-08-28  7:49 ` [PATCH 2/2] ASoC: Add HP iPAQ RX1950 support Vasily Khoruzhick
2010-08-28  8:31   ` Vasily Khoruzhick
2010-08-28  8:37   ` [PATCH v2 " Vasily Khoruzhick
2010-08-28  8:46     ` Vasily Khoruzhick
2010-08-28  8:54     ` [PATCH v3 " Vasily Khoruzhick
2010-08-28  9:06       ` Mark Brown
2010-08-28  9:28         ` Vasily Khoruzhick
2010-08-31 10:45           ` Mark Brown
2010-08-28 11:37         ` Vasily Khoruzhick
2010-08-29  9:31         ` Vasily Khoruzhick
2010-08-29 13:54           ` 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=20100828091435.GC9324@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=anarsoul@gmail.com \
    --cc=lrg@slimlogic.co.uk \
    --cc=philipp.zabel@gmail.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 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).