Skip to contentSkip to conversation

linux-next: build failure after merge of the sound-asoc tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Mar 10, 2015 – Mar 12, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

sound/soc/codecs/rt5670.c: In function 'is_sys_clk_from_pll':
sound/soc/codecs/rt5670.c:519:38: error: 'struct snd_soc_dapm_widget' has no member named 'codec'

  struct snd_soc_codec *codec = source->codec;
                                      ^

Caused by commit 485372dc24ca ("ASoC: rt5670: Check sysclk source by private data")?

sound/soc/codecs/rt5670.c: In function 'rt5670_set_dai_sysclk':
sound/soc/codecs/rt5670.c:2272:1: error: expected expression before '<<' token
<<<<<<< HEAD
^
sound/soc/codecs/rt5670.c:2284:1: error: expected expression before '>>' token

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

v4.0-rc3

^

Oops :-(

I have used the cound-asoc tree from next-20150306 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw

Hi all,

Quoted 11 lines · On Tue, 10 Mar 2015 13:01:20 +1100 Stephen Rothwell <[email protected]>…

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

sound/soc/codecs/rt5670.c: In function 'is_sys_clk_from_pll':
sound/soc/codecs/rt5670.c:519:38: error: 'struct snd_soc_dapm_widget' has no member named 'codec'

  struct snd_soc_codec *codec = source->codec;
                                      ^

Caused by commit 485372dc24ca ("ASoC: rt5670: Check sysclk source by private data")?

Still getting this.

Quoted 9 lines

sound/soc/codecs/rt5670.c: In function 'rt5670_set_dai_sysclk':
sound/soc/codecs/rt5670.c:2272:1: error: expected expression before '<<' token
<<<<<<< HEAD
^
sound/soc/codecs/rt5670.c:2284:1: error: expected expression before '>>' token

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

v4.0-rc3

^

Oops :-(

This has been fixed.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#2 lore raw
Quoted 12 lines

-----Original Message-----
From: Stephen Rothwell [mailto:[email protected]]
Sent: Thursday, March 12, 2015 10:12 AM
To: Mark Brown; Liam Girdwood
Cc: [email protected]; [email protected]; Bard Liao
Subject: Re: linux-next: build failure after merge of the sound-asoc tree

Hi all,

Quoted 1 line · On Tue, 10 Mar 2015 13:01:20 +1100 Stephen Rothwell <[email protected]>…
Quoted 9 lines
Quoted 5 lines

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

sound/soc/codecs/rt5670.c: In function 'is_sys_clk_from_pll':
sound/soc/codecs/rt5670.c:519:38: error: 'struct snd_soc_dapm_widget'

has no member named 'codec'

Quoted 3 lines
  struct snd_soc_codec *codec = source->codec;
                                      ^

Hi

Please apply Lars-Peter's "ASoC: rt5670: Replace w->codec snd_soc_dapm_to_codec(w->dapm)" patch
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-January/086618.html

Thanks.

Quoted 20 lines
Quoted 2 lines

Caused by commit 485372dc24ca ("ASoC: rt5670: Check sysclk source by private data")?

Still getting this.

Quoted 7 lines

sound/soc/codecs/rt5670.c: In function 'rt5670_set_dai_sysclk':
sound/soc/codecs/rt5670.c:2272:1: error: expected expression before '<<' token <<<<<<< HEAD ^ sound/soc/codecs/rt5670.c:2284:1: error: expected expression before '>>' token >>>>>>> v4.0-rc3 ^

Oops :-(

This has been fixed.

--
Cheers,
Stephen Rothwell [email protected]

------Please consider the environment before printing this e-mail.