From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: "Péter Ujfalusi" <peter.ujfalusi@ti.com>
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com,
Liam Girdwood <lrg@ti.com>
Subject: Re: [PATCH] ASoC: Suppress early calls to snd_soc_dapm_sync()
Date: Fri, 7 Oct 2011 15:33:42 +0100 [thread overview]
Message-ID: <20111007143341.GJ14518@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1381533.VkWoivMzrE@barack>
On Fri, Oct 07, 2011 at 05:18:19PM +0300, Péter Ujfalusi wrote:
> On Friday 07 October 2011 14:34:02 Mark Brown wrote:
> > card->instantiated = 1;
> > + snd_soc_dapm_sync(&card->dapm);
> Without prior snd_soc_dapm_new_widgets() call we just moved the kernel crash
> here.
As I keep saying new_wigets() is orthogonal to the syncing. They are
two totally separate issues. There's a good solid reason why I didn't
mention any issues with uninitialized widgets in the changelog which is
that this patch is not intended to help with that in any way, it's
intended to stop us wasting our time (and potentially introducing pops
and clicks from bouncing power) performing needless syncs while starting
up.
The syncs that are being suppressed are totally pointless regardless of
anything else.
prev parent reply other threads:[~2011-10-07 14:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-07 13:34 [PATCH] ASoC: Suppress early calls to snd_soc_dapm_sync() Mark Brown
2011-10-07 14:18 ` Péter Ujfalusi
2011-10-07 14:33 ` Mark Brown [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=20111007143341.GJ14518@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=lrg@ti.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=peter.ujfalusi@ti.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.