Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Timur Tabi <timur@freescale.com>
Cc: vbarinov <vbarinov@embeddedalley.com>,
	Cliff Cai <cliff.cai@analog.com>,
	Joonyoung Shim <jy0922.shim@samsung.com>,
	mano@roarinelk.homelinux.net,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	alsa-devel <alsa-devel@alsa-project.org>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	dg@emlix.com, Grant Likely <grant.likely@secretlab.ca>,
	Sedji Gaouaou <sedji.gaouaou@atmel.com>,
	"kyungmin.park" <kyungmin.park@samsung.com>,
	"Candelaria Villareal, Jorge" <jorge.candelaria@ti.com>,
	ben-linux <ben-linux@fluff.org>,
	Kuninori Morimoto <morimoto.kuninori@renesas.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	anemo@mba.ocn.ne.jp
Subject: Re: ASoC - Support for multiple components
Date: Thu, 22 Apr 2010 12:03:46 +0100	[thread overview]
Message-ID: <1271934226.3228.286.camel@odin> (raw)
In-Reply-To: <k2ved82fe3e1004211407qae60e223of729dff1b6e34d83@mail.gmail.com>

On Wed, 2010-04-21 at 16:07 -0500, Timur Tabi wrote:
> On Mon, Apr 19, 2010 at 9:09 AM, Liam Girdwood <lrg@slimlogic.co.uk> wrote:
> 
> > I've CC'ed folks on this mail who have either contributed or maintain
> > ASoC architecture code. Please have a look at your architecture and test
> > if you can. I only have access to OMAP and pxa3xx hardware and as such
> > have only tested the changes on these two architectures only. I'd
> > appreciated anyone else testing on the other architectures too.
> 
> A few things:
> 
> First, you probably need to add this:
> 
> diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
> index 38d94d7..c2df201 100644
> --- a/sound/soc/soc-core.c
> +++ b/sound/soc/soc-core.c
> @@ -1364,8 +1364,10 @@ static void snd_soc_instantiate_card(struct
> snd_soc_card *card)
>                 soc_bind_dai_link(card, i);
> 
>         /* bind completed ? */
> -       if (card->num_rtd != card->num_links)
> +       if (card->num_rtd != card->num_links) {
> +               mutex_unlock(&card->mutex);
>                 return;
> +       }
> 
>         /* card bind complete so register a sound card */
>         ret = snd_card_create(SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1,
> @@ -1373,6 +1375,7 @@ static void snd_soc_instantiate_card(struct
> snd_soc_card *card)
>         if (ret < 0) {
>                 printk(KERN_ERR "asoc: can't create sound card for card %s\n",
>                         card->name);
> +               mutex_unlock(&card->mutex);
>                 return;
>         }
>         card->snd_card->dev = card->dev;
> 

Thanks, applied. I guess this got lost in a rebase.

Liam

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

      parent reply	other threads:[~2010-04-22 11:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19 14:09 ASoC - Support for multiple components Liam Girdwood
2010-04-19 14:14 ` Timur Tabi
2010-04-19 15:15 ` Grant Likely
2010-04-19 16:25   ` Liam Girdwood
2010-04-19 17:14     ` Mark Brown
2010-04-19 17:23       ` Liam Girdwood
2010-04-19 17:03   ` Mark Brown
2010-04-20  7:17 ` Peter Ujfalusi
2010-04-20 10:46   ` Liam Girdwood
2010-04-21  5:53     ` Peter Ujfalusi
2010-04-21  7:18       ` Liam Girdwood
2010-04-21 17:41         ` Mark Brown
2010-04-26 10:49     ` Mark Brown
2010-04-26 11:17       ` Liam Girdwood
2010-04-26 14:24         ` Mark Brown
2010-04-26 12:05       ` Timur Tabi
2010-04-26 13:13         ` Mark Brown
2010-04-21 21:07 ` Timur Tabi
2010-04-21 22:13   ` Timur Tabi
2010-04-22 11:27     ` Liam Girdwood
2010-04-22 14:52       ` Timur Tabi
2010-04-22 11:03   ` 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=1271934226.3228.286.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=anemo@mba.ocn.ne.jp \
    --cc=ben-linux@fluff.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=cliff.cai@analog.com \
    --cc=dg@emlix.com \
    --cc=grant.likely@secretlab.ca \
    --cc=haojian.zhuang@gmail.com \
    --cc=jorge.candelaria@ti.com \
    --cc=jy0922.shim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=mano@roarinelk.homelinux.net \
    --cc=morimoto.kuninori@renesas.com \
    --cc=s.hauer@pengutronix.de \
    --cc=sedji.gaouaou@atmel.com \
    --cc=timur@freescale.com \
    --cc=vbarinov@embeddedalley.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