linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the sound-asoc tree
@ 2010-12-01  0:31 Stephen Rothwell
  2010-12-01  7:10 ` [PATCH] ASoC: Fix build failure in soc-core.c Jarkko Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2010-12-01  0:31 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Jarkko Nikula

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) failed like this:

sound/soc/soc-core.c: In function 'soc_probe_aux_dev':
sound/soc/soc-core.c:1647: error: 'struct snd_soc_dapm_context' has no member named 'list'
sound/soc/soc-core.c:1647: error: 'struct snd_soc_card' has no member named 'dapm_list'

Caused by commit 2eea392d0a28a0a07d36a9da544eb40f81bf4cb6 ("ASoC: Add
support for optional auxiliary dailess codecs").

I have used the version of the sound-asoc tree from next-20101130 for today
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ASoC: Fix build failure in soc-core.c
  2010-12-01  0:31 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
@ 2010-12-01  7:10 ` Jarkko Nikula
  2010-12-01  9:50   ` Liam Girdwood
  2010-12-01 11:36   ` Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Jarkko Nikula @ 2010-12-01  7:10 UTC (permalink / raw)
  To: alsa-devel
  Cc: linux-kernel, linux-next, Stephen Rothwell, Mark Brown,
	Liam Girdwood, Jarkko Nikula

Commit 2eea392 "ASoC: Add support for optional auxiliary dailess codecs"
causes a build failure in soc-core.c: soc_probe_aux_dev since code tries to
access non-existing struct snd_soc_dapm_context and struct snd_soc_card
members.

Root cause for this was a double accident. Author sent the RFC patch from
top of another patch set and the RFC got committed. Fix the build failure
by removing the code line that depends on that another patch set.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
---
 sound/soc/soc-core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index a7670d5..eb950f7 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1644,7 +1644,6 @@ static int soc_probe_aux_dev(struct snd_soc_card *card, int num)
 	/* mark codec as probed and add to card codec list */
 	codec->probed = 1;
 	list_add(&codec->card_list, &card->codec_dev_list);
-	list_add(&codec->dapm.list, &card->dapm_list);
 
 	/* now that all clients have probed, initialise the DAI link */
 	if (aux_dev->init) {
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: Fix build failure in soc-core.c
  2010-12-01  7:10 ` [PATCH] ASoC: Fix build failure in soc-core.c Jarkko Nikula
@ 2010-12-01  9:50   ` Liam Girdwood
  2010-12-01 11:36   ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Liam Girdwood @ 2010-12-01  9:50 UTC (permalink / raw)
  To: Jarkko Nikula
  Cc: linux-next, Stephen Rothwell, alsa-devel, Mark Brown, linux-kernel

On Wed, 2010-12-01 at 09:10 +0200, Jarkko Nikula wrote:
> Commit 2eea392 "ASoC: Add support for optional auxiliary dailess codecs"
> causes a build failure in soc-core.c: soc_probe_aux_dev since code tries to
> access non-existing struct snd_soc_dapm_context and struct snd_soc_card
> members.
> 
> Root cause for this was a double accident. Author sent the RFC patch from
> top of another patch set and the RFC got committed. Fix the build failure
> by removing the code line that depends on that another patch set.
> 
> Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
> ---

Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: Fix build failure in soc-core.c
  2010-12-01  7:10 ` [PATCH] ASoC: Fix build failure in soc-core.c Jarkko Nikula
  2010-12-01  9:50   ` Liam Girdwood
@ 2010-12-01 11:36   ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2010-12-01 11:36 UTC (permalink / raw)
  To: Jarkko Nikula
  Cc: alsa-devel, linux-kernel, linux-next, Stephen Rothwell, Liam Girdwood

On Wed, Dec 01, 2010 at 09:10:47AM +0200, Jarkko Nikula wrote:
> Commit 2eea392 "ASoC: Add support for optional auxiliary dailess codecs"
> causes a build failure in soc-core.c: soc_probe_aux_dev since code tries to
> access non-existing struct snd_soc_dapm_context and struct snd_soc_card
> members.

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-01 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01  0:31 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
2010-12-01  7:10 ` [PATCH] ASoC: Fix build failure in soc-core.c Jarkko Nikula
2010-12-01  9:50   ` Liam Girdwood
2010-12-01 11:36   ` Mark Brown

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).