From: Liam Girdwood <lrg@ti.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH 1/3] ASoC: dapm: Mark widgets as dirty when a route is added
Date: Fri, 06 Jul 2012 15:04:42 +0100 [thread overview]
Message-ID: <1341583482.4963.0.camel@odin> (raw)
In-Reply-To: <1341505680-10802-1-git-send-email-broonie@opensource.wolfsonmicro.com>
On Thu, 2012-07-05 at 17:27 +0100, Mark Brown wrote:
> If we add a new route at runtime then we'll need to recheck the connections
> to the affected widgets.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> sound/soc/soc-dapm.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
> index ed1860c..beac5e6 100644
> --- a/sound/soc/soc-dapm.c
> +++ b/sound/soc/soc-dapm.c
> @@ -2250,6 +2250,10 @@ static int snd_soc_dapm_add_route(struct snd_soc_dapm_context *dapm,
> path->connect = 0;
> return 0;
> }
> +
> + dapm_mark_dirty(wsource, "Route added");
> + dapm_mark_dirty(wsink, "Route added");
> +
> return 0;
>
> err:
All
Acked-by: Liam Girdwood <lrg@ti.com>
prev parent reply other threads:[~2012-07-06 14:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-05 16:27 [PATCH 1/3] ASoC: dapm: Mark widgets as dirty when a route is added Mark Brown
2012-07-05 16:27 ` [PATCH 2/3] ASoC: dapm: Allow routes to be deleted at runtime Mark Brown
2012-07-05 16:28 ` [PATCH 3/3] ASoC: arizona: Change DAPM routes for AIF clocks when we change them Mark Brown
2012-07-06 14:04 ` Liam Girdwood [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=1341583482.4963.0.camel@odin \
--to=lrg@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.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