From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Axel Lin <axel.lin@gmail.com>
Cc: linux-kernel@vger.kernel.org,
Mike Frysinger <vapier.adi@gmail.com>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
stable@kernel.org
Subject: Re: [PATCH] ASoC: Fix parameter for soc_unregister_ac97_dai_link
Date: Wed, 12 Jan 2011 11:11:04 +0000 [thread overview]
Message-ID: <1294830664.3303.85.camel@odin> (raw)
In-Reply-To: <1294797775.20409.4.camel@mola>
On Wed, 2011-01-12 at 10:02 +0800, Axel Lin wrote:
> soc_unregister_ac97_dai_link takes a pointer to a codec.
>
> Reported-by: Mike Frysinger <vapier.adi@gmail.com>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> Cc: stable@kernel.org [2.6.37]
> ---
> sound/soc/soc-core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
> index 85b7d54..e061ece 100644
> --- a/sound/soc/soc-core.c
> +++ b/sound/soc/soc-core.c
> @@ -1623,7 +1623,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
> if (ret < 0) {
> printk(KERN_ERR "asoc: failed to register AC97 %s\n", card->name);
> while (--i >= 0)
> - soc_unregister_ac97_dai_link(&card->rtd[i]);
> + soc_unregister_ac97_dai_link(card->rtd[i].codec);
> goto probe_dai_err;
> }
> }
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
next prev parent reply other threads:[~2011-01-12 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 2:02 [PATCH] ASoC: Fix parameter for soc_unregister_ac97_dai_link Axel Lin
2011-01-12 2:18 ` Mike Frysinger
2011-01-12 11:11 ` Liam Girdwood [this message]
2011-01-12 15:06 ` 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=1294830664.3303.85.camel@odin \
--to=lrg@slimlogic.co.uk \
--cc=axel.lin@gmail.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
--cc=vapier.adi@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 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.