linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the sound-asoc tree
@ 2010-10-18  3:29 Stephen Rothwell
  2010-10-18  3:39 ` Stephen Rothwell
                   ` (2 more replies)
  0 siblings, 3 replies; 238+ messages in thread
From: Stephen Rothwell @ 2010-10-18  3:29 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Peter Hsiang

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

Hi all,

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

sound/soc/codecs/max98088.c:28:28: error: sound/max98088.h: No such file or directory
sound/soc/codecs/max98088.c: In function 'max98088_setup_eq1':
sound/soc/codecs/max98088.c:1712: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1713: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1714: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1716: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1720: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1720: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1728: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1730: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1731: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1732: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1733: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1734: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c: In function 'max98088_setup_eq2':
sound/soc/codecs/max98088.c:1759: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1760: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1761: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1763: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1767: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1767: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1775: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1777: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1778: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1779: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1780: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1781: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c: In function 'max98088_put_eq_enum':
sound/soc/codecs/max98088.c:1800: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c: In function 'max98088_handle_eq_pdata':
sound/soc/codecs/max98088.c:1851: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1852: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1861: error: invalid use of undefined type 'struct max98088_eq_cfg'
sound/soc/codecs/max98088.c:1861: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1876: error: invalid use of undefined type 'struct max98088_eq_cfg'
sound/soc/codecs/max98088.c:1876: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c: In function 'max98088_handle_pdata':
sound/soc/codecs/max98088.c:1902: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1905: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1913: error: dereferencing pointer to incomplete type
sound/soc/codecs/max98088.c:1918: error: dereferencing pointer to incomplete type

Caused by commit e65d255a5a610ce9e185e0df855250706aca7c21 ("ASoC: Add
max98088 CODEC driver").

Please, please build test what you are submitting.

I have used the sound-asoc tree from next-20101015 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] 238+ messages in thread

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-10-18  3:29 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
@ 2010-10-18  3:39 ` Stephen Rothwell
  2010-10-18  5:44   ` Takashi Iwai
  2010-10-18  5:03 ` Mark Brown
  2010-10-18 20:25 ` Peter Hsiang
  2 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2010-10-18  3:39 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, Takashi Iwai
  Cc: linux-next, linux-kernel, Peter Hsiang

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

Hi all,

On Mon, 18 Oct 2010 14:29:34 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/codecs/max98088.c:28:28: error: sound/max98088.h: No such file or directory
	.
	.
> 
> Caused by commit e65d255a5a610ce9e185e0df855250706aca7c21 ("ASoC: Add
> max98088 CODEC driver").
> 
> Please, please build test what you are submitting.
> 
> I have used the sound-asoc tree from next-20101015 for today.

I have also had to use the version of the sound tree from next-20101015
since it had merged the sound-asoc tree.

-- 
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] 238+ messages in thread

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-10-18  3:29 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
  2010-10-18  3:39 ` Stephen Rothwell
@ 2010-10-18  5:03 ` Mark Brown
  2010-10-18 20:25 ` Peter Hsiang
  2 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2010-10-18  5:03 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel, Peter Hsiang

On Mon, Oct 18, 2010 at 02:29:34PM +1100, Stephen Rothwell wrote:

> Please, please build test what you are submitting.

> I have used the sound-asoc tree from next-20101015 for today.

Pushed a reversion of the MAX98088 driver so this will be fixed
tomorrow.

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-10-18  3:39 ` Stephen Rothwell
@ 2010-10-18  5:44   ` Takashi Iwai
  0 siblings, 0 replies; 238+ messages in thread
From: Takashi Iwai @ 2010-10-18  5:44 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel, Peter Hsiang

At Mon, 18 Oct 2010 14:39:25 +1100,
Stephen Rothwell wrote:
> 
> Hi all,
> 
> On Mon, 18 Oct 2010 14:29:34 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > After merging the sound-asoc tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> > 
> > sound/soc/codecs/max98088.c:28:28: error: sound/max98088.h: No such file or directory
> 	.
> 	.
> > 
> > Caused by commit e65d255a5a610ce9e185e0df855250706aca7c21 ("ASoC: Add
> > max98088 CODEC driver").
> > 
> > Please, please build test what you are submitting.
> > 
> > I have used the sound-asoc tree from next-20101015 for today.
> 
> I have also had to use the version of the sound tree from next-20101015
> since it had merged the sound-asoc tree.

Mark now fixed it (just removed the driver), and I pulled it to sound
tree, too.  Sorry for inconvenience.


Takashi

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2010-10-18  3:29 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
  2010-10-18  3:39 ` Stephen Rothwell
  2010-10-18  5:03 ` Mark Brown
@ 2010-10-18 20:25 ` Peter Hsiang
  2010-10-19  0:07   ` Mark Brown
  2 siblings, 1 reply; 238+ messages in thread
From: Peter Hsiang @ 2010-10-18 20:25 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

On Sun, Oct 17, 2010, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/codecs/max98088.c:28:28: error: sound/max98088.h: No such file or
> directory
> 

Mark, 

This message seems to be saying that this header file is missing.
However, this header file was included in the patch that was submitted,
and it did compile fine here before the submit.
I don't understand why it's not there after it was applied?

Thanks,

Peter


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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-10-18 20:25 ` Peter Hsiang
@ 2010-10-19  0:07   ` Mark Brown
  2010-10-19  0:30     ` Peter Hsiang
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2010-10-19  0:07 UTC (permalink / raw)
  To: Peter Hsiang; +Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

On Mon, Oct 18, 2010 at 01:25:12PM -0700, Peter Hsiang wrote:

> This message seems to be saying that this header file is missing.
> However, this header file was included in the patch that was submitted,
> and it did compile fine here before the submit.
> I don't understand why it's not there after it was applied?

Your patch was apparently not generated against the mainline Makefile or
Kconfig and the automated conflict resolution tool I used (which is
normally fairly reliable) appears to have misplaced the header.  I've
restored the driver with the readdition of the header.

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2010-10-19  0:07   ` Mark Brown
@ 2010-10-19  0:30     ` Peter Hsiang
  2010-10-19  0:43       ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Peter Hsiang @ 2010-10-19  0:30 UTC (permalink / raw)
  To: Mark Brown; +Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

On Mon, Oct 18, 2010, Mark Brown wrote:
> On Mon, Oct 18, 2010 at 01:25:12PM -0700, Peter Hsiang wrote:
> 
> > This message seems to be saying that this header file is missing.
> > However, this header file was included in the patch that was submitted,
> > and it did compile fine here before the submit.
> > I don't understand why it's not there after it was applied?
> 
> Your patch was apparently not generated against the mainline Makefile or
> Kconfig and the automated conflict resolution tool I used (which is
> normally fairly reliable) appears to have misplaced the header.  I've
> restored the driver with the readdition of the header.

.../pub/scm/linux/kernel/git/next/linux-next.git  Right?
Thanks!

Peter


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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-10-19  0:30     ` Peter Hsiang
@ 2010-10-19  0:43       ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2010-10-19  0:43 UTC (permalink / raw)
  To: Peter Hsiang; +Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

On Mon, Oct 18, 2010 at 05:30:39PM -0700, Peter Hsiang wrote:
> On Mon, Oct 18, 2010, Mark Brown wrote:

> > Your patch was apparently not generated against the mainline Makefile or
> > Kconfig and the automated conflict resolution tool I used (which is
> > normally fairly reliable) appears to have misplaced the header.  I've
> > restored the driver with the readdition of the header.

> .../pub/scm/linux/kernel/git/next/linux-next.git  Right?

As previously advised several times you should be submitting against the
latest for-whatever branch of 

  git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git

for ASoC.  That will *generally* be what's in -next but not always.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2023-10-20  1:42 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2023-10-20  1:42 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, Takashi Iwai
  Cc: Maarten Lankhorst, Pierre-Louis Bossart,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

sound/soc/sof/intel/hda.c: In function 'hda_dsp_remove':
sound/soc/sof/intel/hda.c:1384:16: error: 'return' with a value, in function returning void [-Werror=return-type]
 1384 |         return 0;
      |                ^
sound/soc/sof/intel/hda.c:1330:6: note: declared here
 1330 | void hda_dsp_remove(struct snd_sof_dev *sdev)
      |      ^~~~~~~~~~~~~~
sound/soc/sof/intel/hda.c: In function 'hda_dsp_remove_late':
sound/soc/sof/intel/hda.c:1392:1: error: control reaches end of non-void function [-Werror=return-type]
 1392 | }
      | ^
cc1: all warnings being treated as errors

Caused by a bad automatic merge between commit

  e4d09de3919b ("ASoC: SOF: make .remove callback return void")

and commit

  3d1a05581361 ("ASoC: SOF: Intel: Move binding to display driver outside of deferred probe")

from the sound tree.

I have applied the follwoing merge fix patch.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 20 Oct 2023 12:37:26 +1100
Subject: [PATCH] fix for bad merge of "ASoC: SOF: Intel: Move binding to
 display driver outside of deferred probe"

with "ASoC: SOF: make .remove callback return void"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/sof/intel/hda.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/sof/intel/hda.c b/sound/soc/sof/intel/hda.c
index 2f12265c472b..8342fcf52f52 100644
--- a/sound/soc/sof/intel/hda.c
+++ b/sound/soc/sof/intel/hda.c
@@ -1380,8 +1380,6 @@ void hda_dsp_remove(struct snd_sof_dev *sdev)
 
 	if (!sdev->dspless_mode_selected)
 		iounmap(sdev->bar[HDA_DSP_BAR]);
-
-	return 0;
 }
 
 int hda_dsp_remove_late(struct snd_sof_dev *sdev)
@@ -1389,6 +1387,8 @@ int hda_dsp_remove_late(struct snd_sof_dev *sdev)
 	iounmap(sof_to_bus(sdev)->remap_addr);
 	sof_hda_bus_exit(sdev);
 	hda_codec_i915_exit(sdev);
+
+	return 0;
 }
 
 int hda_power_down_dsp(struct snd_sof_dev *sdev)
-- 
2.40.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2023-05-15  1:43 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2023-05-15  1:43 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

sound/soc/amd/yc/acp6x-mach.c:320:9: error: braces around scalar initializer [-Werror]
  320 |         {
      |         ^
sound/soc/amd/yc/acp6x-mach.c:320:9: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
sound/soc/amd/yc/acp6x-mach.c:321:17: error: field name not in record or union initializer
  321 |                 .driver_data = &acp6x_card,
      |                 ^
sound/soc/amd/yc/acp6x-mach.c:321:17: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
sound/soc/amd/yc/acp6x-mach.c:322:17: error: field name not in record or union initializer
  322 |                 .matches = {
      |                 ^
sound/soc/amd/yc/acp6x-mach.c:322:17: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
sound/soc/amd/yc/acp6x-mach.c:322:17: error: braces around scalar initializer [-Werror]
sound/soc/amd/yc/acp6x-mach.c:322:17: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
sound/soc/amd/yc/acp6x-mach.c:323:25: error: braces around scalar initializer [-Werror]
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                         ^~~~~~~~~
sound/soc/amd/yc/acp6x-mach.c:323:25: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
In file included from include/linux/of.h:18,
                 from include/sound/soc.h:13,
                 from sound/soc/amd/yc/acp6x-mach.c:8:
include/linux/mod_devicetable.h:588:27: error: field name not in record or union initializer
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                           ^
sound/soc/amd/yc/acp6x-mach.c:323:25: note: in expansion of macro 'DMI_MATCH'
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                         ^~~~~~~~~
include/linux/mod_devicetable.h:588:27: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                           ^
sound/soc/amd/yc/acp6x-mach.c:323:25: note: in expansion of macro 'DMI_MATCH'
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                         ^~~~~~~~~
sound/soc/amd/yc/acp6x-mach.c:323:35: error: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                                   ^~~~~~~~~~~~~~~~
include/linux/mod_devicetable.h:588:35: note: in definition of macro 'DMI_MATCH'
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                   ^
sound/soc/amd/yc/acp6x-mach.c:323:35: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                                   ^~~~~~~~~~~~~~~~
include/linux/mod_devicetable.h:588:35: note: in definition of macro 'DMI_MATCH'
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                   ^
include/linux/mod_devicetable.h:588:38: error: field name not in record or union initializer
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                      ^
sound/soc/amd/yc/acp6x-mach.c:323:25: note: in expansion of macro 'DMI_MATCH'
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                         ^~~~~~~~~
include/linux/mod_devicetable.h:588:38: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                      ^
sound/soc/amd/yc/acp6x-mach.c:323:25: note: in expansion of macro 'DMI_MATCH'
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                         ^~~~~~~~~
sound/soc/amd/yc/acp6x-mach.c:323:53: error: excess elements in scalar initializer [-Werror]
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                                                     ^~~~~~~~~~
include/linux/mod_devicetable.h:588:48: note: in definition of macro 'DMI_MATCH'
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                                ^
sound/soc/amd/yc/acp6x-mach.c:323:53: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  323 |                         DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
      |                                                     ^~~~~~~~~~
include/linux/mod_devicetable.h:588:48: note: in definition of macro 'DMI_MATCH'
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                                ^
sound/soc/amd/yc/acp6x-mach.c:324:25: error: braces around scalar initializer [-Werror]
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                         ^~~~~~~~~
sound/soc/amd/yc/acp6x-mach.c:324:25: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
include/linux/mod_devicetable.h:588:27: error: field name not in record or union initializer
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                           ^
sound/soc/amd/yc/acp6x-mach.c:324:25: note: in expansion of macro 'DMI_MATCH'
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                         ^~~~~~~~~
include/linux/mod_devicetable.h:588:27: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                           ^
sound/soc/amd/yc/acp6x-mach.c:324:25: note: in expansion of macro 'DMI_MATCH'
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                         ^~~~~~~~~
sound/soc/amd/yc/acp6x-mach.c:324:35: error: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                                   ^~~~~~~~~~~~~~~~~~~
include/linux/mod_devicetable.h:588:35: note: in definition of macro 'DMI_MATCH'
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                   ^
sound/soc/amd/yc/acp6x-mach.c:324:35: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                                   ^~~~~~~~~~~~~~~~~~~
include/linux/mod_devicetable.h:588:35: note: in definition of macro 'DMI_MATCH'
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                   ^
include/linux/mod_devicetable.h:588:38: error: field name not in record or union initializer
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                      ^
sound/soc/amd/yc/acp6x-mach.c:324:25: note: in expansion of macro 'DMI_MATCH'
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                         ^~~~~~~~~
include/linux/mod_devicetable.h:588:38: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                      ^
sound/soc/amd/yc/acp6x-mach.c:324:25: note: in expansion of macro 'DMI_MATCH'
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                         ^~~~~~~~~
sound/soc/amd/yc/acp6x-mach.c:324:56: error: excess elements in scalar initializer [-Werror]
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                                                        ^~~~~~~~
include/linux/mod_devicetable.h:588:48: note: in definition of macro 'DMI_MATCH'
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                                ^
sound/soc/amd/yc/acp6x-mach.c:324:56: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                                                        ^~~~~~~~
include/linux/mod_devicetable.h:588:48: note: in definition of macro 'DMI_MATCH'
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                                                ^
include/linux/mod_devicetable.h:588:25: error: excess elements in scalar initializer [-Werror]
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                         ^
sound/soc/amd/yc/acp6x-mach.c:324:25: note: in expansion of macro 'DMI_MATCH'
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                         ^~~~~~~~~
include/linux/mod_devicetable.h:588:25: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
  588 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
      |                         ^
sound/soc/amd/yc/acp6x-mach.c:324:25: note: in expansion of macro 'DMI_MATCH'
  324 |                         DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
      |                         ^~~~~~~~~
sound/soc/amd/yc/acp6x-mach.c:322:28: error: excess elements in scalar initializer [-Werror]
  322 |                 .matches = {
      |                            ^
sound/soc/amd/yc/acp6x-mach.c:322:28: note: (near initialization for 'yc_acp_quirk_table[38].driver_data')
sound/soc/amd/yc/acp6x-mach.c:327:9: error: extra brace group at end of initializer
  327 |         {}
      |         ^
sound/soc/amd/yc/acp6x-mach.c:327:9: note: (near initialization for 'yc_acp_quirk_table[38]')
sound/soc/amd/yc/acp6x-mach.c:327:9: error: excess elements in struct initializer [-Werror]
sound/soc/amd/yc/acp6x-mach.c:327:9: note: (near initialization for 'yc_acp_quirk_table[38]')
sound/soc/amd/yc/acp6x-mach.c:328:2: error: expected '}' before ';' token
  328 | };
      |  ^
sound/soc/amd/yc/acp6x-mach.c:47:58: note: to match this '{'
   47 | static const struct dmi_system_id yc_acp_quirk_table[] = {
      |                                                          ^

Caused by commit

  af233bd2931b ("ASoC: Merge up fixes for CI")

I have used the sound-asoc tree from next-20230512 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2023-02-01  0:14 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2023-02-01  0:14 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Kuninori Morimoto, Richard Fitzgerald, Stefan Binding,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

sound/soc/codecs/cs42l42-sdw.c: In function 'cs42l42_sdw_dai_set_sdw_stream':
sound/soc/codecs/cs42l42-sdw.c:159:20: error: 'struct snd_soc_dai' has no member named 'playback_dma_data'
  159 |                 dai->playback_dma_data = sdw_stream;
      |                    ^~
sound/soc/codecs/cs42l42-sdw.c:161:20: error: 'struct snd_soc_dai' has no member named 'capture_dma_data'
  161 |                 dai->capture_dma_data = sdw_stream;
      |                    ^~

Caused by commit

  90f6a2a20bd2 ("ASoC: cs42l42: Add SoundWire support")

interacting with commit

  3653480c6812 ("ASoC: soc-dai.h: cleanup Playback/Capture data for snd_soc_dai")

which should have been fixed up in commit

  98fda42a85b4 ("ASoC: cs42l42: Add SoundWire support")

I have used the sound-asoc tree from next-20230131 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2022-09-21  2:31 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2022-09-21  2:31 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, Wolfram Sang
  Cc: Uwe Kleine-König, Martin Povišer,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

sound/soc/codecs/cs42l83-i2c.c:234:19: error: initialization of 'void (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Werror=incompatible-pointer-types]
  234 |         .remove = cs42l83_i2c_remove,
      |                   ^~~~~~~~~~~~~~~~~~
sound/soc/codecs/cs42l83-i2c.c:234:19: note: (near initialization for 'cs42l83_i2c_driver.remove')

Caused by commit

  94d5f62a91aa ("ASoC: cs42l83: Extend CS42L42 support to new part")

interacting with commit

  ed5c2f5fd10d ("i2c: Make remove callback return void")

from the i2c tree.

I applied the following merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 21 Sep 2022 12:24:03 +1000
Subject: [PATCH] ASoC: cs42l83: fix up for "i2c: Make remove callback return
 void"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/codecs/cs42l83-i2c.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/cs42l83-i2c.c b/sound/soc/codecs/cs42l83-i2c.c
index ba8772aa51e1..f90d43996a51 100644
--- a/sound/soc/codecs/cs42l83-i2c.c
+++ b/sound/soc/codecs/cs42l83-i2c.c
@@ -192,13 +192,11 @@ static int cs42l83_i2c_probe(struct i2c_client *i2c_client)
 	return cs42l42_init(cs42l83);
 }
 
-static int cs42l83_i2c_remove(struct i2c_client *i2c_client)
+static void cs42l83_i2c_remove(struct i2c_client *i2c_client)
 {
 	struct cs42l42_private *cs42l83 = dev_get_drvdata(&i2c_client->dev);
 
 	cs42l42_common_remove(cs42l83);
-
-	return 0;
 }
 
 static int __maybe_unused cs42l83_i2c_resume(struct device *dev)
-- 
2.35.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-07-07 11:42   ` Mukunda,Vijendar
@ 2022-07-07 11:55     ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2022-07-07 11:55 UTC (permalink / raw)
  To: Mukunda,Vijendar
  Cc: Stephen Rothwell, Liam Girdwood, Linux Kernel Mailing List,
	Linux Next Mailing List

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

On Thu, Jul 07, 2022 at 05:12:31PM +0530, Mukunda,Vijendar wrote:

> If we have to submit the patch freshly then earlier patch should be
> reverted in for-next branch.
> Should we resend the fix again or else should we submit patch freshly?

If you have already sent a fix there's no need to resend.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-07-07 11:08 ` Mukunda,Vijendar
@ 2022-07-07 11:42   ` Mukunda,Vijendar
  2022-07-07 11:55     ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Mukunda,Vijendar @ 2022-07-07 11:42 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

On 7/7/22 4:38 PM, Mukunda,Vijendar wrote:
> On 7/7/22 3:34 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> After merging the sound-asoc tree, today's linux-next build (powerpc
>> allyesconfig) failed like this:
>>
>> sound/soc/amd/acp-es8336.c: In function 'st_es8336_late_probe':
>> sound/soc/amd/acp-es8336.c:204:33: error: invalid use of undefined type 'struct acpi_device'
>>   204 |                 put_device(&adev->dev);
>>       |                                 ^~
>> sound/soc/soc-acpi.c:34:1: error: redefinition of 'snd_soc_acpi_find_machine'
>>    34 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
>>       | ^~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from sound/soc/soc-acpi.c:9:
>> include/sound/soc-acpi.h:38:1: note: previous definition of 'snd_soc_acpi_find_machine' with type 'struct snd_soc_acpi_mach *(struct snd_soc_acpi_mach *)'
>>    38 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
>>       | ^~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/soc-acpi.c: In function 'snd_soc_acpi_find_package':
>> sound/soc/soc-acpi.c:58:36: error: implicit declaration of function 'acpi_fetch_acpi_dev'; did you mean 'device_match_acpi_dev'? [-Werror=implicit-function-declaration]
>>    58 |         struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
>>       |                                    ^~~~~~~~~~~~~~~~~~~
>>       |                                    device_match_acpi_dev
>> sound/soc/soc-acpi.c:58:36: error: initialization of 'struct acpi_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
>> sound/soc/soc-acpi.c:64:25: error: invalid use of undefined type 'struct acpi_device'
>>    64 |         if (adev && adev->status.present && adev->status.functional) {
>>       |                         ^~
>> sound/soc/soc-acpi.c:64:49: error: invalid use of undefined type 'struct acpi_device'
>>    64 |         if (adev && adev->status.present && adev->status.functional) {
>>       |                                                 ^~
>> sound/soc/soc-acpi.c:80:26: error: implicit declaration of function 'acpi_extract_package' [-Werror=implicit-function-declaration]
>>    80 |                 status = acpi_extract_package(myobj,
>>       |                          ^~~~~~~~~~~~~~~~~~~~
>> sound/soc/soc-acpi.c: At top level:
>> sound/soc/soc-acpi.c:95:6: error: redefinition of 'snd_soc_acpi_find_package_from_hid'
>>    95 | bool snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
>>       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from sound/soc/soc-acpi.c:9:
>> include/sound/soc-acpi.h:44:1: note: previous definition of 'snd_soc_acpi_find_package_from_hid' with type 'bool(const u8 *, struct snd_soc_acpi_package_context *)' {aka '_Bool(const unsigned char *, struct snd_soc_acpi_package_context *)'}
>>    44 | snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
>>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/soc-acpi.c:109:27: error: redefinition of 'snd_soc_acpi_codec_list'
>>   109 | struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
>>       |                           ^~~~~~~~~~~~~~~~~~~~~~~
>> In file included from sound/soc/soc-acpi.c:9:
>> include/sound/soc-acpi.h:51:41: note: previous definition of 'snd_soc_acpi_codec_list' with type 'struct snd_soc_acpi_mach *(void *)'
>>    51 | static inline struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
>>       |                                         ^~~~~~~~~~~~~~~~~~~~~~~
>>
>> Caused by commit
>>
>>   f94fa8405801 ("ASoC: amd: enable machine driver build for Jadeite platform")
>>
>> I have reverted that commit for today.
>>
> 
> Hi Stephen,
> 
> We have provided fix for build error and pushed patch for upstream review.
> 
> Patch title: " ASoC: amd: fix ACPI dependency compile errors and warnings"
> patch link:
> https://lore.kernel.org/lkml/20220706205515.2485601-1-Vijendar.Mukunda@amd.com/
> 
> We will resend the fix for upstream review.
> 
> Thanks,
> Vijendar

Hi Mark,


If we have to submit the patch freshly then earlier patch should be
reverted in for-next branch.
Should we resend the fix again or else should we submit patch freshly?

Thanks,
Vijendar



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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-07-07 10:04 Stephen Rothwell
@ 2022-07-07 11:08 ` Mukunda,Vijendar
  2022-07-07 11:42   ` Mukunda,Vijendar
  0 siblings, 1 reply; 238+ messages in thread
From: Mukunda,Vijendar @ 2022-07-07 11:08 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

On 7/7/22 3:34 PM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> sound/soc/amd/acp-es8336.c: In function 'st_es8336_late_probe':
> sound/soc/amd/acp-es8336.c:204:33: error: invalid use of undefined type 'struct acpi_device'
>   204 |                 put_device(&adev->dev);
>       |                                 ^~
> sound/soc/soc-acpi.c:34:1: error: redefinition of 'snd_soc_acpi_find_machine'
>    34 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from sound/soc/soc-acpi.c:9:
> include/sound/soc-acpi.h:38:1: note: previous definition of 'snd_soc_acpi_find_machine' with type 'struct snd_soc_acpi_mach *(struct snd_soc_acpi_mach *)'
>    38 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~
> sound/soc/soc-acpi.c: In function 'snd_soc_acpi_find_package':
> sound/soc/soc-acpi.c:58:36: error: implicit declaration of function 'acpi_fetch_acpi_dev'; did you mean 'device_match_acpi_dev'? [-Werror=implicit-function-declaration]
>    58 |         struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
>       |                                    ^~~~~~~~~~~~~~~~~~~
>       |                                    device_match_acpi_dev
> sound/soc/soc-acpi.c:58:36: error: initialization of 'struct acpi_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
> sound/soc/soc-acpi.c:64:25: error: invalid use of undefined type 'struct acpi_device'
>    64 |         if (adev && adev->status.present && adev->status.functional) {
>       |                         ^~
> sound/soc/soc-acpi.c:64:49: error: invalid use of undefined type 'struct acpi_device'
>    64 |         if (adev && adev->status.present && adev->status.functional) {
>       |                                                 ^~
> sound/soc/soc-acpi.c:80:26: error: implicit declaration of function 'acpi_extract_package' [-Werror=implicit-function-declaration]
>    80 |                 status = acpi_extract_package(myobj,
>       |                          ^~~~~~~~~~~~~~~~~~~~
> sound/soc/soc-acpi.c: At top level:
> sound/soc/soc-acpi.c:95:6: error: redefinition of 'snd_soc_acpi_find_package_from_hid'
>    95 | bool snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
>       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from sound/soc/soc-acpi.c:9:
> include/sound/soc-acpi.h:44:1: note: previous definition of 'snd_soc_acpi_find_package_from_hid' with type 'bool(const u8 *, struct snd_soc_acpi_package_context *)' {aka '_Bool(const unsigned char *, struct snd_soc_acpi_package_context *)'}
>    44 | snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> sound/soc/soc-acpi.c:109:27: error: redefinition of 'snd_soc_acpi_codec_list'
>   109 | struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
>       |                           ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from sound/soc/soc-acpi.c:9:
> include/sound/soc-acpi.h:51:41: note: previous definition of 'snd_soc_acpi_codec_list' with type 'struct snd_soc_acpi_mach *(void *)'
>    51 | static inline struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
>       |                                         ^~~~~~~~~~~~~~~~~~~~~~~
> 
> Caused by commit
> 
>   f94fa8405801 ("ASoC: amd: enable machine driver build for Jadeite platform")
> 
> I have reverted that commit for today.
> 

Hi Stephen,

We have provided fix for build error and pushed patch for upstream review.

Patch title: " ASoC: amd: fix ACPI dependency compile errors and warnings"
patch link:
https://lore.kernel.org/lkml/20220706205515.2485601-1-Vijendar.Mukunda@amd.com/

We will resend the fix for upstream review.

Thanks,
Vijendar

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2022-07-07 10:04 Stephen Rothwell
  2022-07-07 11:08 ` Mukunda,Vijendar
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2022-07-07 10:04 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Vijendar Mukunda, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

sound/soc/amd/acp-es8336.c: In function 'st_es8336_late_probe':
sound/soc/amd/acp-es8336.c:204:33: error: invalid use of undefined type 'struct acpi_device'
  204 |                 put_device(&adev->dev);
      |                                 ^~
sound/soc/soc-acpi.c:34:1: error: redefinition of 'snd_soc_acpi_find_machine'
   34 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sound/soc/soc-acpi.c:9:
include/sound/soc-acpi.h:38:1: note: previous definition of 'snd_soc_acpi_find_machine' with type 'struct snd_soc_acpi_mach *(struct snd_soc_acpi_mach *)'
   38 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-acpi.c: In function 'snd_soc_acpi_find_package':
sound/soc/soc-acpi.c:58:36: error: implicit declaration of function 'acpi_fetch_acpi_dev'; did you mean 'device_match_acpi_dev'? [-Werror=implicit-function-declaration]
   58 |         struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
      |                                    ^~~~~~~~~~~~~~~~~~~
      |                                    device_match_acpi_dev
sound/soc/soc-acpi.c:58:36: error: initialization of 'struct acpi_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
sound/soc/soc-acpi.c:64:25: error: invalid use of undefined type 'struct acpi_device'
   64 |         if (adev && adev->status.present && adev->status.functional) {
      |                         ^~
sound/soc/soc-acpi.c:64:49: error: invalid use of undefined type 'struct acpi_device'
   64 |         if (adev && adev->status.present && adev->status.functional) {
      |                                                 ^~
sound/soc/soc-acpi.c:80:26: error: implicit declaration of function 'acpi_extract_package' [-Werror=implicit-function-declaration]
   80 |                 status = acpi_extract_package(myobj,
      |                          ^~~~~~~~~~~~~~~~~~~~
sound/soc/soc-acpi.c: At top level:
sound/soc/soc-acpi.c:95:6: error: redefinition of 'snd_soc_acpi_find_package_from_hid'
   95 | bool snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sound/soc/soc-acpi.c:9:
include/sound/soc-acpi.h:44:1: note: previous definition of 'snd_soc_acpi_find_package_from_hid' with type 'bool(const u8 *, struct snd_soc_acpi_package_context *)' {aka '_Bool(const unsigned char *, struct snd_soc_acpi_package_context *)'}
   44 | snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-acpi.c:109:27: error: redefinition of 'snd_soc_acpi_codec_list'
  109 | struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
In file included from sound/soc/soc-acpi.c:9:
include/sound/soc-acpi.h:51:41: note: previous definition of 'snd_soc_acpi_codec_list' with type 'struct snd_soc_acpi_mach *(void *)'
   51 | static inline struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  f94fa8405801 ("ASoC: amd: enable machine driver build for Jadeite platform")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-07-06 12:09 ` Mark Brown
  2022-07-06 12:13   ` Amadeusz Sławiński
  2022-07-06 12:20   ` Cezary Rojewski
@ 2022-07-07  0:52   ` Stephen Rothwell
  2 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2022-07-07  0:52 UTC (permalink / raw)
  To: Mark Brown
  Cc: Liam Girdwood, Amadeusz Sławiński, Cezary Rojewski,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi Mark,

On Wed, 6 Jul 2022 13:09:48 +0100 Mark Brown <broonie@kernel.org> wrote:
>
> On Wed, Jul 06, 2022 at 11:55:29AM +1000, Stephen Rothwell wrote:
> 
> > After merging the sound-asoc tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:  
> 
> Which toolchain do you use?  I've been using GCC 10 since it seems to be
> what Linus is using, anything else I try has tended to get spurious
> failures in from his tree.

$ x86_64-linux-gnu-gcc --version
x86_64-linux-gnu-gcc (Debian 11.2.0-9) 11.2.0

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-07-06 12:09 ` Mark Brown
  2022-07-06 12:13   ` Amadeusz Sławiński
@ 2022-07-06 12:20   ` Cezary Rojewski
  2022-07-07  0:52   ` Stephen Rothwell
  2 siblings, 0 replies; 238+ messages in thread
From: Cezary Rojewski @ 2022-07-06 12:20 UTC (permalink / raw)
  To: Mark Brown, Stephen Rothwell
  Cc: Liam Girdwood, Amadeusz Sławiński,
	Linux Kernel Mailing List, Linux Next Mailing List

On 2022-07-06 2:09 PM, Mark Brown wrote:
> On Wed, Jul 06, 2022 at 11:55:29AM +1000, Stephen Rothwell wrote:
> 
>> After merging the sound-asoc tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
> 
> Which toolchain do you use?  I've been using GCC 10 since it seems to be
> what Linus is using, anything else I try has tended to get spurious
> failures in from his tree.


Issue has been revealed by the yesterday's fix [1] - there was a 
spelling error on my side in the most recent (and integrated) version of 
i2s_test machine driver. As my CI was 1-rebase behind the schedule, we 
did not notice.

As mentioned by Amadeo, fix has already been provided [2]. Sorry for any 
trouble caused by that issue.


[1]: 
https://lore.kernel.org/alsa-devel/20220705103238.7484-1-lukas.bulwahn@gmail.com/
[2]: 
https://lore.kernel.org/alsa-devel/20220706062952.251704-1-cezary.rojewski@intel.com/T/#u


Regards,
Czarek


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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-07-06 12:09 ` Mark Brown
@ 2022-07-06 12:13   ` Amadeusz Sławiński
  2022-07-06 12:20   ` Cezary Rojewski
  2022-07-07  0:52   ` Stephen Rothwell
  2 siblings, 0 replies; 238+ messages in thread
From: Amadeusz Sławiński @ 2022-07-06 12:13 UTC (permalink / raw)
  To: Mark Brown, Stephen Rothwell
  Cc: Liam Girdwood, Cezary Rojewski, Linux Kernel Mailing List,
	Linux Next Mailing List

On 7/6/2022 2:09 PM, Mark Brown wrote:
> On Wed, Jul 06, 2022 at 11:55:29AM +1000, Stephen Rothwell wrote:
> 
>> After merging the sound-asoc tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
> 
> Which toolchain do you use?  I've been using GCC 10 since it seems to be
> what Linus is using, anything else I try has tended to get spurious
> failures in from his tree.

I will just add that Czarek already provided a fix:
https://lore.kernel.org/alsa-devel/20220706062952.251704-1-cezary.rojewski@intel.com/T/#u

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-07-06  1:55 Stephen Rothwell
@ 2022-07-06 12:09 ` Mark Brown
  2022-07-06 12:13   ` Amadeusz Sławiński
                     ` (2 more replies)
  0 siblings, 3 replies; 238+ messages in thread
From: Mark Brown @ 2022-07-06 12:09 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, Amadeusz Sławiński, Cezary Rojewski,
	Linux Kernel Mailing List, Linux Next Mailing List

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

On Wed, Jul 06, 2022 at 11:55:29AM +1000, Stephen Rothwell wrote:

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

Which toolchain do you use?  I've been using GCC 10 since it seems to be
what Linus is using, anything else I try has tended to get spurious
failures in from his tree.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2022-07-06  1:55 Stephen Rothwell
  2022-07-06 12:09 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2022-07-06  1:55 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Amadeusz Sławiński, Cezary Rojewski,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

sound/soc/intel/avs/boards/i2s_test.c: In function 'avs_i2s_test_probe':
sound/soc/intel/avs/boards/i2s_test.c:130:60: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Werror=format=]
  130 |         card->name = devm_kasprintf(dev, GFP_KERNEL, "ssp%ld-loopback", ssp_port);
      |                                                          ~~^            ~~~~~~~~
      |                                                            |            |
      |                                                            long int     int
      |                                                          %d
cc1: all warnings being treated as errors

Caused by commit

  e39acc4cfd92 ("ASoC: Intel: avs: Add I2S-test machine board")

I have used the sound-asoc tree from next-20220705 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-04-26  8:30 Stephen Rothwell
@ 2022-04-27  3:53 ` Tinghan Shen
  0 siblings, 0 replies; 238+ messages in thread
From: Tinghan Shen @ 2022-04-27  3:53 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Allen-KH Cheng, Linux Kernel Mailing List, Linux Next Mailing List

Hi all,

On Tue, 2022-04-26 at 18:30 +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> ld: sound/soc/sof/mediatek/mt8186/mt8186-clk.o:(.opd+0x18): multiple definition of
> `adsp_clock_on'; sound/soc/sof/mediatek/mt8195/mt8195-clk.o:(.opd+0x60): first defined here
> ld: sound/soc/sof/mediatek/mt8186/mt8186-clk.o: in function `.adsp_clock_on':
> mt8186-clk.c:(.text.adsp_clock_on+0x0): multiple definition of `.adsp_clock_on';
> sound/soc/sof/mediatek/mt8195/mt8195-clk.o:mt8195-clk.c:(.text.adsp_clock_on+0x0): first defined
> here
> ld: sound/soc/sof/mediatek/mt8186/mt8186-clk.o:(.opd+0x30): multiple definition of
> `adsp_clock_off'; sound/soc/sof/mediatek/mt8195/mt8195-clk.o:(.opd+0x78): first defined here
> ld: sound/soc/sof/mediatek/mt8186/mt8186-clk.o: in function `.adsp_clock_off':
> mt8186-clk.c:(.text.adsp_clock_off+0x0): multiple definition of `.adsp_clock_off';
> sound/soc/sof/mediatek/mt8195/mt8195-clk.o:mt8195-clk.c:(.text.adsp_clock_off+0x0): first defined
> here
> ld: sound/soc/sof/mediatek/mt8186/mt8186-loader.o:(.opd+0x0): multiple definition of
> `sof_hifixdsp_boot_sequence'; sound/soc/sof/mediatek/mt8195/mt8195-loader.o:(.opd+0x0): first
> defined here
> ld: sound/soc/sof/mediatek/mt8186/mt8186-loader.o: in function `.sof_hifixdsp_boot_sequence':
> mt8186-loader.c:(.text.sof_hifixdsp_boot_sequence+0x0): multiple definition of
> `.sof_hifixdsp_boot_sequence'; sound/soc/sof/mediatek/mt8195/mt8195-loader.o:mt8195-
> loader.c:(.text.sof_hifixdsp_boot_sequence+0x0): first defined here
> ld: sound/soc/sof/mediatek/mt8186/mt8186-loader.o:(.opd+0x18): multiple definition of
> `sof_hifixdsp_shutdown'; sound/soc/sof/mediatek/mt8195/mt8195-loader.o:(.opd+0x18): first defined
> here
> ld: sound/soc/sof/mediatek/mt8186/mt8186-loader.o: in function `.sof_hifixdsp_shutdown':
> mt8186-loader.c:(.text.sof_hifixdsp_shutdown+0x0): multiple definition of
> `.sof_hifixdsp_shutdown'; sound/soc/sof/mediatek/mt8195/mt8195-loader.o:mt8195-
> loader.c:(.text.sof_hifixdsp_shutdown+0x0): first defined here
> 
> Caused by commits
> 
>   570c14dc92d5 ("ASoC: SOF: mediatek: Add mt8186 sof fw loader and dsp ops")
>   210b3ab932f7 ("ASoC: SOF: mediatek: Add mt8186 dsp clock support")
> 
> I have reverted those commits and the following
> 
>   0e0b83cc7ec7 ("ASoC: SOF: mediatek: Add DSP system PM callback for mt8186")
> 
> for today.

I'm apologies for your inconvenience.

I've pushed a quick fix at
https://lore.kernel.org/alsa-devel/20220427034425.24294-1-tinghan.shen@mediatek.com/T/#u


Thanks & Regards
TingHan

> 


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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-04-26  9:00 ` Amadeusz Sławiński
@ 2022-04-26 11:10   ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2022-04-26 11:10 UTC (permalink / raw)
  To: Amadeusz Sławiński
  Cc: Stephen Rothwell, Liam Girdwood, Linux Kernel Mailing List,
	Linux Next Mailing List

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

On Tue, Apr 26, 2022 at 11:00:59AM +0200, Amadeusz Sławiński wrote:

> On the other hand I guess we can just leave X86 with COMPILE_TEST and move
> ACPI to depends on, without COMPILE_TEST.

> Mark, what do you think?

The above seems sensible.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-04-26  9:01 ` Amadeusz Sławiński
@ 2022-04-26 10:49   ` Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2022-04-26 10:49 UTC (permalink / raw)
  To: Amadeusz Sławiński
  Cc: Mark Brown, Liam Girdwood, Cezary Rojewski,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi Amadeusz,

On Tue, 26 Apr 2022 11:01:18 +0200 Amadeusz Sławiński         <amadeuszx.slawinski@linux.intel.com> wrote:
>
> > I have applied the following patch for today:
> > 
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Tue, 26 Apr 2022 17:49:37 +1000
> > Subject: [PATCH] fixup for "ASoC: Intel: avs: Configure modules according to their type"
> > 
> > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> > ---
> >   sound/soc/intel/avs/path.c | 1 +
> >   1 file changed, 1 insertion(+)
> > 
> > diff --git a/sound/soc/intel/avs/path.c b/sound/soc/intel/avs/path.c
> > index 3d46dd5e5bc4..6f47ac44de87 100644
> > --- a/sound/soc/intel/avs/path.c
> > +++ b/sound/soc/intel/avs/path.c
> > @@ -9,6 +9,7 @@
> >   #include <sound/intel-nhlt.h>
> >   #include <sound/pcm_params.h>
> >   #include <sound/soc.h>
> > +#include <sound/intel-nhlt.h>  
> 
> This fix seems weird, as same include is 3 lines earlier?

Right.  I applied this at the same time as the previous fix which
probably stopped this file from being built.  The real problem is that
the structure is not defined for !CONFIG_ACPI.

So this fix is not needed.

Sorry for the noise.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-04-26  8:30 Stephen Rothwell
@ 2022-04-26  9:01 ` Amadeusz Sławiński
  2022-04-26 10:49   ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Amadeusz Sławiński @ 2022-04-26  9:01 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Cezary Rojewski, Linux Kernel Mailing List, Linux Next Mailing List

On 4/26/2022 10:30 AM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> sound/soc/intel/avs/path.c: In function 'avs_copier_create':
> sound/soc/intel/avs/path.c:186:31: error: invalid use of undefined type 'struct nhlt_specific_cfg'
>    186 |                 data = ep_blob->caps;
>        |                               ^~
> sound/soc/intel/avs/path.c:187:36: error: invalid use of undefined type 'struct nhlt_specific_cfg'
>    187 |                 data_size = ep_blob->size;
>        |                                    ^~
> sound/soc/intel/avs/path.c:210:31: error: invalid use of undefined type 'struct nhlt_specific_cfg'
>    210 |                 data = ep_blob->caps;
>        |                               ^~
> sound/soc/intel/avs/path.c:211:36: error: invalid use of undefined type 'struct nhlt_specific_cfg'
>    211 |                 data_size = ep_blob->size;
>        |                                    ^~
> 
> Caused by commit
> 
>    274d79e51875 ("ASoC: Intel: avs: Configure modules according to their type")
> 
> I have applied the following patch for today:
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Tue, 26 Apr 2022 17:49:37 +1000
> Subject: [PATCH] fixup for "ASoC: Intel: avs: Configure modules according to their type"
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>   sound/soc/intel/avs/path.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/sound/soc/intel/avs/path.c b/sound/soc/intel/avs/path.c
> index 3d46dd5e5bc4..6f47ac44de87 100644
> --- a/sound/soc/intel/avs/path.c
> +++ b/sound/soc/intel/avs/path.c
> @@ -9,6 +9,7 @@
>   #include <sound/intel-nhlt.h>
>   #include <sound/pcm_params.h>
>   #include <sound/soc.h>
> +#include <sound/intel-nhlt.h>

This fix seems weird, as same include is 3 lines earlier?

>   #include "avs.h"
>   #include "path.h"
>   #include "topology.h"


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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2022-04-26  8:30 Stephen Rothwell
@ 2022-04-26  9:00 ` Amadeusz Sławiński
  2022-04-26 11:10   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Amadeusz Sławiński @ 2022-04-26  9:00 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

On 4/26/2022 10:30 AM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> sound/soc/soc-acpi.c:34:1: error: redefinition of 'snd_soc_acpi_find_machine'
>     34 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
>        | ^~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from sound/soc/soc-acpi.c:9:
> include/sound/soc-acpi.h:38:1: note: previous definition of 'snd_soc_acpi_find_machine' with type 'struct snd_soc_acpi_mach *(struct snd_soc_acpi_mach *)'
>     38 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
>        | ^~~~~~~~~~~~~~~~~~~~~~~~~
> sound/soc/soc-acpi.c: In function 'snd_soc_acpi_find_package':
> sound/soc/soc-acpi.c:58:36: error: implicit declaration of function 'acpi_fetch_acpi_dev'; did you mean 'device_match_acpi_dev'? [-Werror=implicit-function-declaration]
>     58 |         struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
>        |                                    ^~~~~~~~~~~~~~~~~~~
>        |                                    device_match_acpi_dev
> sound/soc/soc-acpi.c:58:36: error: initialization of 'struct acpi_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
> sound/soc/soc-acpi.c:64:25: error: invalid use of undefined type 'struct acpi_device'
>     64 |         if (adev && adev->status.present && adev->status.functional) {
>        |                         ^~
> sound/soc/soc-acpi.c:64:49: error: invalid use of undefined type 'struct acpi_device'
>     64 |         if (adev && adev->status.present && adev->status.functional) {
>        |                                                 ^~
> sound/soc/soc-acpi.c:80:26: error: implicit declaration of function 'acpi_extract_package' [-Werror=implicit-function-declaration]
>     80 |                 status = acpi_extract_package(myobj,
>        |                          ^~~~~~~~~~~~~~~~~~~~
> sound/soc/soc-acpi.c: At top level:
> sound/soc/soc-acpi.c:95:6: error: redefinition of 'snd_soc_acpi_find_package_from_hid'
>     95 | bool snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
>        |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from sound/soc/soc-acpi.c:9:
> include/sound/soc-acpi.h:44:1: note: previous definition of 'snd_soc_acpi_find_package_from_hid' with type 'bool(const u8 *, struct snd_soc_acpi_package_context *)' {aka '_Bool(const unsigned char *, struct snd_soc_acpi_package_context *)'}
>     44 | snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
>        | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> sound/soc/soc-acpi.c:109:27: error: redefinition of 'snd_soc_acpi_codec_list'
>    109 | struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
>        |                           ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from sound/soc/soc-acpi.c:9:
> include/sound/soc-acpi.h:51:41: note: previous definition of 'snd_soc_acpi_codec_list' with type 'struct snd_soc_acpi_mach *(void *)'
>     51 | static inline struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
>        |                                         ^~~~~~~~~~~~~~~~~~~~~~~
> 
> Caused by commit
> 
>    47a1886a610a ("ASoC: Intel: avs: Enable AVS driver only on x86 platforms")
> 
> I have applied the following patch for today:
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Tue, 26 Apr 2022 18:01:06 +1000
> Subject: [PATCH] partial revert of "ASoC: Intel: avs: Enable AVS driver only on x86 platforms"
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>   sound/soc/intel/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
> index be42c4eff165..b0b46deb25c6 100644
> --- a/sound/soc/intel/Kconfig
> +++ b/sound/soc/intel/Kconfig
> @@ -211,7 +211,7 @@ config SND_SOC_INTEL_KEEMBAY
>   
>   config SND_SOC_INTEL_AVS
>   	tristate "Intel AVS driver"
> -	depends on (X86 && ACPI) || COMPILE_TEST
> +	depends on (X86 && ACPI)
>   	depends on PCI
>   	depends on COMMON_CLK
>   	select SND_SOC_ACPI

Well, I'm surprised, as there are 2 other drivers that have
depends on ACPI || COMPILE_TEST...

I guess it is ultimately caused by
  select SND_SOC_ACPI
as failure is in sound/soc/soc-acpi.c file.

I guess SND_SOC_ACPI could depend on ACPI explicitly, to make sure there 
is no weird dependency issues?

On the other hand I guess we can just leave X86 with COMPILE_TEST and 
move ACPI to depends on, without COMPILE_TEST.

Mark, what do you think?

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2022-04-26  8:30 Stephen Rothwell
  2022-04-26  9:01 ` Amadeusz Sławiński
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2022-04-26  8:30 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Amadeusz Sławiński, Cezary Rojewski,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

sound/soc/intel/avs/path.c: In function 'avs_copier_create':
sound/soc/intel/avs/path.c:186:31: error: invalid use of undefined type 'struct nhlt_specific_cfg'
  186 |                 data = ep_blob->caps;
      |                               ^~
sound/soc/intel/avs/path.c:187:36: error: invalid use of undefined type 'struct nhlt_specific_cfg'
  187 |                 data_size = ep_blob->size;
      |                                    ^~
sound/soc/intel/avs/path.c:210:31: error: invalid use of undefined type 'struct nhlt_specific_cfg'
  210 |                 data = ep_blob->caps;
      |                               ^~
sound/soc/intel/avs/path.c:211:36: error: invalid use of undefined type 'struct nhlt_specific_cfg'
  211 |                 data_size = ep_blob->size;
      |                                    ^~

Caused by commit

  274d79e51875 ("ASoC: Intel: avs: Configure modules according to their type")

I have applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 26 Apr 2022 17:49:37 +1000
Subject: [PATCH] fixup for "ASoC: Intel: avs: Configure modules according to their type"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/intel/avs/path.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/intel/avs/path.c b/sound/soc/intel/avs/path.c
index 3d46dd5e5bc4..6f47ac44de87 100644
--- a/sound/soc/intel/avs/path.c
+++ b/sound/soc/intel/avs/path.c
@@ -9,6 +9,7 @@
 #include <sound/intel-nhlt.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
+#include <sound/intel-nhlt.h>
 #include "avs.h"
 #include "path.h"
 #include "topology.h"
-- 
2.35.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2022-04-26  8:30 Stephen Rothwell
  2022-04-26  9:00 ` Amadeusz Sławiński
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2022-04-26  8:30 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Amadeusz Sławiński, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

sound/soc/soc-acpi.c:34:1: error: redefinition of 'snd_soc_acpi_find_machine'
   34 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sound/soc/soc-acpi.c:9:
include/sound/soc-acpi.h:38:1: note: previous definition of 'snd_soc_acpi_find_machine' with type 'struct snd_soc_acpi_mach *(struct snd_soc_acpi_mach *)'
   38 | snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-acpi.c: In function 'snd_soc_acpi_find_package':
sound/soc/soc-acpi.c:58:36: error: implicit declaration of function 'acpi_fetch_acpi_dev'; did you mean 'device_match_acpi_dev'? [-Werror=implicit-function-declaration]
   58 |         struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
      |                                    ^~~~~~~~~~~~~~~~~~~
      |                                    device_match_acpi_dev
sound/soc/soc-acpi.c:58:36: error: initialization of 'struct acpi_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
sound/soc/soc-acpi.c:64:25: error: invalid use of undefined type 'struct acpi_device'
   64 |         if (adev && adev->status.present && adev->status.functional) {
      |                         ^~
sound/soc/soc-acpi.c:64:49: error: invalid use of undefined type 'struct acpi_device'
   64 |         if (adev && adev->status.present && adev->status.functional) {
      |                                                 ^~
sound/soc/soc-acpi.c:80:26: error: implicit declaration of function 'acpi_extract_package' [-Werror=implicit-function-declaration]
   80 |                 status = acpi_extract_package(myobj,
      |                          ^~~~~~~~~~~~~~~~~~~~
sound/soc/soc-acpi.c: At top level:
sound/soc/soc-acpi.c:95:6: error: redefinition of 'snd_soc_acpi_find_package_from_hid'
   95 | bool snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sound/soc/soc-acpi.c:9:
include/sound/soc-acpi.h:44:1: note: previous definition of 'snd_soc_acpi_find_package_from_hid' with type 'bool(const u8 *, struct snd_soc_acpi_package_context *)' {aka '_Bool(const unsigned char *, struct snd_soc_acpi_package_context *)'}
   44 | snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN],
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-acpi.c:109:27: error: redefinition of 'snd_soc_acpi_codec_list'
  109 | struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
In file included from sound/soc/soc-acpi.c:9:
include/sound/soc-acpi.h:51:41: note: previous definition of 'snd_soc_acpi_codec_list' with type 'struct snd_soc_acpi_mach *(void *)'
   51 | static inline struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  47a1886a610a ("ASoC: Intel: avs: Enable AVS driver only on x86 platforms")

I have applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 26 Apr 2022 18:01:06 +1000
Subject: [PATCH] partial revert of "ASoC: Intel: avs: Enable AVS driver only on x86 platforms"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/intel/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index be42c4eff165..b0b46deb25c6 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -211,7 +211,7 @@ config SND_SOC_INTEL_KEEMBAY
 
 config SND_SOC_INTEL_AVS
 	tristate "Intel AVS driver"
-	depends on (X86 && ACPI) || COMPILE_TEST
+	depends on (X86 && ACPI)
 	depends on PCI
 	depends on COMMON_CLK
 	select SND_SOC_ACPI
-- 
2.35.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2022-04-26  8:30 Stephen Rothwell
  2022-04-27  3:53 ` Tinghan Shen
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2022-04-26  8:30 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Allen-KH Cheng, Tinghan Shen, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

ld: sound/soc/sof/mediatek/mt8186/mt8186-clk.o:(.opd+0x18): multiple definition of `adsp_clock_on'; sound/soc/sof/mediatek/mt8195/mt8195-clk.o:(.opd+0x60): first defined here
ld: sound/soc/sof/mediatek/mt8186/mt8186-clk.o: in function `.adsp_clock_on':
mt8186-clk.c:(.text.adsp_clock_on+0x0): multiple definition of `.adsp_clock_on'; sound/soc/sof/mediatek/mt8195/mt8195-clk.o:mt8195-clk.c:(.text.adsp_clock_on+0x0): first defined here
ld: sound/soc/sof/mediatek/mt8186/mt8186-clk.o:(.opd+0x30): multiple definition of `adsp_clock_off'; sound/soc/sof/mediatek/mt8195/mt8195-clk.o:(.opd+0x78): first defined here
ld: sound/soc/sof/mediatek/mt8186/mt8186-clk.o: in function `.adsp_clock_off':
mt8186-clk.c:(.text.adsp_clock_off+0x0): multiple definition of `.adsp_clock_off'; sound/soc/sof/mediatek/mt8195/mt8195-clk.o:mt8195-clk.c:(.text.adsp_clock_off+0x0): first defined here
ld: sound/soc/sof/mediatek/mt8186/mt8186-loader.o:(.opd+0x0): multiple definition of `sof_hifixdsp_boot_sequence'; sound/soc/sof/mediatek/mt8195/mt8195-loader.o:(.opd+0x0): first defined here
ld: sound/soc/sof/mediatek/mt8186/mt8186-loader.o: in function `.sof_hifixdsp_boot_sequence':
mt8186-loader.c:(.text.sof_hifixdsp_boot_sequence+0x0): multiple definition of `.sof_hifixdsp_boot_sequence'; sound/soc/sof/mediatek/mt8195/mt8195-loader.o:mt8195-loader.c:(.text.sof_hifixdsp_boot_sequence+0x0): first defined here
ld: sound/soc/sof/mediatek/mt8186/mt8186-loader.o:(.opd+0x18): multiple definition of `sof_hifixdsp_shutdown'; sound/soc/sof/mediatek/mt8195/mt8195-loader.o:(.opd+0x18): first defined here
ld: sound/soc/sof/mediatek/mt8186/mt8186-loader.o: in function `.sof_hifixdsp_shutdown':
mt8186-loader.c:(.text.sof_hifixdsp_shutdown+0x0): multiple definition of `.sof_hifixdsp_shutdown'; sound/soc/sof/mediatek/mt8195/mt8195-loader.o:mt8195-loader.c:(.text.sof_hifixdsp_shutdown+0x0): first defined here

Caused by commits

  570c14dc92d5 ("ASoC: SOF: mediatek: Add mt8186 sof fw loader and dsp ops")
  210b3ab932f7 ("ASoC: SOF: mediatek: Add mt8186 dsp clock support")

I have reverted those commits and the following

  0e0b83cc7ec7 ("ASoC: SOF: mediatek: Add DSP system PM callback for mt8186")

for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2021-10-25  2:13 Stephen Rothwell
@ 2021-10-25  7:57 ` Ajit Kumar Pandey
  0 siblings, 0 replies; 238+ messages in thread
From: Ajit Kumar Pandey @ 2021-10-25  7:57 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

Apologies this seems to be missed, i've pushed a quick fix at

https://patchwork.kernel.org/project/alsa-devel/patch/20211025074808.471333-1-AjitKumar.Pandey@amd.com/

@Mark , please pick this one into asoc tree to fix build issue. 
Apologies for inconvenience

Thanks & Regards
Ajit

On 10/25/2021 7:43 AM, Stephen Rothwell wrote:
> [CAUTION: External Email]
> 

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2021-10-25  2:13 Stephen Rothwell
  2021-10-25  7:57 ` Ajit Kumar Pandey
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2021-10-25  2:13 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Ajit Kumar Pandey, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

ERROR: modpost: "snd_soc_acpi_amd_acp_machines" [sound/soc/amd/acp/snd-acp-renoir.ko] undefined!

Caused by commit

  e646b51f5dd5 ("ASoC: amd: acp: Add callback for machine driver on ACP")

I have used the sound-asoc tree from next-20211022 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2021-10-06  3:04 ` Stephen Rothwell
@ 2021-10-07 14:22   ` Arnd Bergmann
  0 siblings, 0 replies; 238+ messages in thread
From: Arnd Bergmann @ 2021-10-07 14:22 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Charles Keepax, Simon Trimmer,
	Linux Kernel Mailing List, Linux Next Mailing List,
	Arnd Bergmann, Michael Ellerman

On Wed, Oct 6, 2021 at 5:04 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> >
> >   f6bc909e7673 ("firmware: cs_dsp: add driver to support firmware loading on Cirrus Logic DSPs")
> >
> > I have reverted that commit for today.
>
> Any progress on this?  I am still reverting the above commit.
>

I have added my two patches for Kconfig to the asm-generic tree now, planning to
send that as bugfixes for the next -rc.

       Arnd

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2021-09-28  5:35 Stephen Rothwell
  2021-09-28  7:17 ` Arnd Bergmann
@ 2021-10-06  3:04 ` Stephen Rothwell
  2021-10-07 14:22   ` Arnd Bergmann
  1 sibling, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2021-10-06  3:04 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, Simon Trimmer, Linux Kernel Mailing List,
	Linux Next Mailing List, Arnd Bergmann, Michael Ellerman

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

Hi all,

On Tue, 28 Sep 2021 15:35:08 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_put':
> wm_adsp.c:(.text.wm_coeff_put+0x54): undefined reference to `.cs_dsp_coeff_write_ctrl'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_write_ctl':
> (.text.wm_adsp_write_ctl+0x60): undefined reference to `.cs_dsp_get_ctl'
> ld: (.text.wm_adsp_write_ctl+0xb4): undefined reference to `.cs_dsp_coeff_write_ctrl'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_read_ctl':
> (.text.wm_adsp_read_ctl+0x50): undefined reference to `.cs_dsp_get_ctl'
> ld: (.text.wm_adsp_read_ctl+0xbc): undefined reference to `.cs_dsp_coeff_read_ctrl'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_get':
> wm_adsp.c:(.text.wm_coeff_get+0x54): undefined reference to `.cs_dsp_coeff_read_ctrl'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_tlv_get':
> wm_adsp.c:(.text.wm_coeff_tlv_get+0x60): undefined reference to `.cs_dsp_coeff_read_ctrl'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_put_acked':
> wm_adsp.c:(.text.wm_coeff_put_acked+0xa4): undefined reference to `.cs_dsp_coeff_write_acked_control'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp1_init':
> (.text.wm_adsp1_init+0x38): undefined reference to `.cs_dsp_adsp1_init'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_set_dspclk':
> (.text.wm_adsp2_set_dspclk+0x44): undefined reference to `.cs_dsp_set_dspclk'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_early_event':
> (.text.wm_adsp_early_event+0xac): undefined reference to `.cs_dsp_power_down'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_event':
> (.text.wm_adsp_event+0x88): undefined reference to `.cs_dsp_run'
> ld: (.text.wm_adsp_event+0xb0): undefined reference to `.cs_dsp_stop'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_component_probe':
> (.text.wm_adsp2_component_probe+0x6c): undefined reference to `.cs_dsp_init_debugfs'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_component_remove':
> (.text.wm_adsp2_component_remove+0x24): undefined reference to `.cs_dsp_cleanup_debugfs'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_init':
> (.text.wm_adsp2_init+0xa8): undefined reference to `.cs_dsp_adsp2_init'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_halo_init':
> (.text.wm_halo_init+0xa8): undefined reference to `.cs_dsp_halo_init'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_remove':
> (.text.wm_adsp2_remove+0x24): undefined reference to `.cs_dsp_remove'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_bus_error':
> (.text.wm_adsp2_bus_error+0x24): undefined reference to `.cs_dsp_adsp2_bus_error'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_halo_bus_error':
> (.text.wm_halo_bus_error+0x24): undefined reference to `.cs_dsp_halo_bus_error'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_halo_wdt_expire':
> (.text.wm_halo_wdt_expire+0x24): undefined reference to `.cs_dsp_halo_wdt_expire'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp1_event':
> (.text.wm_adsp1_event+0x168): undefined reference to `.cs_dsp_adsp1_power_up'
> ld: (.text.wm_adsp1_event+0x210): undefined reference to `.cs_dsp_adsp1_power_down'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_control_add':
> wm_adsp.c:(.text.wm_adsp_control_add+0x70): undefined reference to `.cs_dsp_mem_region_name'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_capture_block':
> wm_adsp.c:(.text.wm_adsp_buffer_capture_block+0x248): undefined reference to `.cs_dsp_read_raw_data_block'
> ld: wm_adsp.c:(.text.wm_adsp_buffer_capture_block+0x27c): undefined reference to `.cs_dsp_remove_padding'
> ld: wm_adsp.c:(.text.wm_adsp_buffer_capture_block+0x344): undefined reference to `.cs_dsp_write_data_word'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_boot_work':
> wm_adsp.c:(.text.wm_adsp_boot_work+0x108): undefined reference to `.cs_dsp_power_up'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_populate':
> wm_adsp.c:(.text.wm_adsp_buffer_populate+0x1ac): undefined reference to `.cs_dsp_read_data_word'
> ld: wm_adsp.c:(.text.wm_adsp_buffer_populate+0x1fc): undefined reference to `.cs_dsp_read_data_word'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_parse_coeff':
> wm_adsp.c:(.text.wm_adsp_buffer_parse_coeff+0x58): undefined reference to `.cs_dsp_coeff_read_ctrl'
> ld: wm_adsp.c:(.text.wm_adsp_buffer_parse_coeff+0x2b0): undefined reference to `.cs_dsp_remove_padding'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_parse_legacy':
> wm_adsp.c:(.text.wm_adsp_buffer_parse_legacy+0x48): undefined reference to `.cs_dsp_find_alg_region'
> ld: wm_adsp.c:(.text.wm_adsp_buffer_parse_legacy+0xc4): undefined reference to `.cs_dsp_read_data_word'
> ld: wm_adsp.c:(.text.wm_adsp_buffer_parse_legacy+0x150): undefined reference to `.cs_dsp_read_data_word'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_get_error':
> wm_adsp.c:(.text.wm_adsp_buffer_get_error+0x44): undefined reference to `.cs_dsp_read_data_word'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_compr_trigger':
> (.text.wm_adsp_compr_trigger+0x370): undefined reference to `.cs_dsp_write_data_word'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_update_avail':
> wm_adsp.c:(.text.wm_adsp_buffer_update_avail+0x70): undefined reference to `.cs_dsp_read_data_word'
> ld: wm_adsp.c:(.text.wm_adsp_buffer_update_avail+0x16c): undefined reference to `.cs_dsp_read_data_word'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_compr_handle_irq':
> (.text.wm_adsp_compr_handle_irq+0x140): undefined reference to `.cs_dsp_read_data_word'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_compr_pointer':
> (.text.wm_adsp_compr_pointer+0x3d8): undefined reference to `.cs_dsp_write_data_word'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_tlv_put':
> wm_adsp.c:(.text.wm_coeff_tlv_put+0x100): undefined reference to `.cs_dsp_coeff_write_ctrl'
> 
> Caused by commit
> 
>   f6bc909e7673 ("firmware: cs_dsp: add driver to support firmware loading on Cirrus Logic DSPs")
> 
> I have reverted that commit for today.

Any progress on this?  I am still reverting the above commit.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2021-09-28  5:35 Stephen Rothwell
@ 2021-09-28  7:17 ` Arnd Bergmann
  2021-10-06  3:04 ` Stephen Rothwell
  1 sibling, 0 replies; 238+ messages in thread
From: Arnd Bergmann @ 2021-09-28  7:17 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Charles Keepax, Simon Trimmer,
	Linux Kernel Mailing List, Linux Next Mailing List,
	Arnd Bergmann, Michael Ellerman

On Tue, Sep 28, 2021 at 7:35 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_put':
> wm_adsp.c:(.text.wm_coeff_put+0x54): undefined reference to `.cs_dsp_coeff_write_ctrl'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_write_ctl':
> (.text.wm_adsp_write_ctl+0x60): undefined reference to `.cs_dsp_get_ctl'
> ld: (.text.wm_adsp_write_ctl+0xb4): undefined reference to `.cs_dsp_coeff_write_ctrl'
> ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_read_ctl':
> (.text.wm_adsp_read_ctl+0x50): undefined reference to `.cs_dsp_get_ctl'

To spare everyone the search, the problem is in this bit:

--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -298,6 +298,7 @@ config TURRIS_MOX_RWTM

 source "drivers/firmware/arm_ffa/Kconfig"
 source "drivers/firmware/broadcom/Kconfig"
+source "drivers/firmware/cirrus/Kconfig"
 source "drivers/firmware/google/Kconfig"
 source "drivers/firmware/efi/Kconfig"
 source "drivers/firmware/imx/Kconfig"

drivers/firmware/Kconfig is only included from arch/*/Kconfig for
certain architectures, rather than from drivers/Kconfig as most
other subdirectories are. This means the CONFIG_CS_DSP
symbol is not in the namespace of Kconfig and never gets
selected.

We just discussed this problem on IRC the other day as I
had the same issue. I think we should move all the
"source" statements for driver Kconfig files from architecture
specific inclusions to drivers/Kconfig.

      Arnd

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2021-09-28  5:35 Stephen Rothwell
  2021-09-28  7:17 ` Arnd Bergmann
  2021-10-06  3:04 ` Stephen Rothwell
  0 siblings, 2 replies; 238+ messages in thread
From: Stephen Rothwell @ 2021-09-28  5:35 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, Simon Trimmer, Linux Kernel Mailing List,
	Linux Next Mailing List, Arnd Bergmann, Michael Ellerman

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

Hi all,

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

ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_put':
wm_adsp.c:(.text.wm_coeff_put+0x54): undefined reference to `.cs_dsp_coeff_write_ctrl'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_write_ctl':
(.text.wm_adsp_write_ctl+0x60): undefined reference to `.cs_dsp_get_ctl'
ld: (.text.wm_adsp_write_ctl+0xb4): undefined reference to `.cs_dsp_coeff_write_ctrl'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_read_ctl':
(.text.wm_adsp_read_ctl+0x50): undefined reference to `.cs_dsp_get_ctl'
ld: (.text.wm_adsp_read_ctl+0xbc): undefined reference to `.cs_dsp_coeff_read_ctrl'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_get':
wm_adsp.c:(.text.wm_coeff_get+0x54): undefined reference to `.cs_dsp_coeff_read_ctrl'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_tlv_get':
wm_adsp.c:(.text.wm_coeff_tlv_get+0x60): undefined reference to `.cs_dsp_coeff_read_ctrl'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_put_acked':
wm_adsp.c:(.text.wm_coeff_put_acked+0xa4): undefined reference to `.cs_dsp_coeff_write_acked_control'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp1_init':
(.text.wm_adsp1_init+0x38): undefined reference to `.cs_dsp_adsp1_init'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_set_dspclk':
(.text.wm_adsp2_set_dspclk+0x44): undefined reference to `.cs_dsp_set_dspclk'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_early_event':
(.text.wm_adsp_early_event+0xac): undefined reference to `.cs_dsp_power_down'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_event':
(.text.wm_adsp_event+0x88): undefined reference to `.cs_dsp_run'
ld: (.text.wm_adsp_event+0xb0): undefined reference to `.cs_dsp_stop'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_component_probe':
(.text.wm_adsp2_component_probe+0x6c): undefined reference to `.cs_dsp_init_debugfs'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_component_remove':
(.text.wm_adsp2_component_remove+0x24): undefined reference to `.cs_dsp_cleanup_debugfs'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_init':
(.text.wm_adsp2_init+0xa8): undefined reference to `.cs_dsp_adsp2_init'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_halo_init':
(.text.wm_halo_init+0xa8): undefined reference to `.cs_dsp_halo_init'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_remove':
(.text.wm_adsp2_remove+0x24): undefined reference to `.cs_dsp_remove'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp2_bus_error':
(.text.wm_adsp2_bus_error+0x24): undefined reference to `.cs_dsp_adsp2_bus_error'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_halo_bus_error':
(.text.wm_halo_bus_error+0x24): undefined reference to `.cs_dsp_halo_bus_error'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_halo_wdt_expire':
(.text.wm_halo_wdt_expire+0x24): undefined reference to `.cs_dsp_halo_wdt_expire'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp1_event':
(.text.wm_adsp1_event+0x168): undefined reference to `.cs_dsp_adsp1_power_up'
ld: (.text.wm_adsp1_event+0x210): undefined reference to `.cs_dsp_adsp1_power_down'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_control_add':
wm_adsp.c:(.text.wm_adsp_control_add+0x70): undefined reference to `.cs_dsp_mem_region_name'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_capture_block':
wm_adsp.c:(.text.wm_adsp_buffer_capture_block+0x248): undefined reference to `.cs_dsp_read_raw_data_block'
ld: wm_adsp.c:(.text.wm_adsp_buffer_capture_block+0x27c): undefined reference to `.cs_dsp_remove_padding'
ld: wm_adsp.c:(.text.wm_adsp_buffer_capture_block+0x344): undefined reference to `.cs_dsp_write_data_word'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_boot_work':
wm_adsp.c:(.text.wm_adsp_boot_work+0x108): undefined reference to `.cs_dsp_power_up'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_populate':
wm_adsp.c:(.text.wm_adsp_buffer_populate+0x1ac): undefined reference to `.cs_dsp_read_data_word'
ld: wm_adsp.c:(.text.wm_adsp_buffer_populate+0x1fc): undefined reference to `.cs_dsp_read_data_word'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_parse_coeff':
wm_adsp.c:(.text.wm_adsp_buffer_parse_coeff+0x58): undefined reference to `.cs_dsp_coeff_read_ctrl'
ld: wm_adsp.c:(.text.wm_adsp_buffer_parse_coeff+0x2b0): undefined reference to `.cs_dsp_remove_padding'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_parse_legacy':
wm_adsp.c:(.text.wm_adsp_buffer_parse_legacy+0x48): undefined reference to `.cs_dsp_find_alg_region'
ld: wm_adsp.c:(.text.wm_adsp_buffer_parse_legacy+0xc4): undefined reference to `.cs_dsp_read_data_word'
ld: wm_adsp.c:(.text.wm_adsp_buffer_parse_legacy+0x150): undefined reference to `.cs_dsp_read_data_word'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_get_error':
wm_adsp.c:(.text.wm_adsp_buffer_get_error+0x44): undefined reference to `.cs_dsp_read_data_word'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_compr_trigger':
(.text.wm_adsp_compr_trigger+0x370): undefined reference to `.cs_dsp_write_data_word'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_buffer_update_avail':
wm_adsp.c:(.text.wm_adsp_buffer_update_avail+0x70): undefined reference to `.cs_dsp_read_data_word'
ld: wm_adsp.c:(.text.wm_adsp_buffer_update_avail+0x16c): undefined reference to `.cs_dsp_read_data_word'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_compr_handle_irq':
(.text.wm_adsp_compr_handle_irq+0x140): undefined reference to `.cs_dsp_read_data_word'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_adsp_compr_pointer':
(.text.wm_adsp_compr_pointer+0x3d8): undefined reference to `.cs_dsp_write_data_word'
ld: sound/soc/codecs/wm_adsp.o: in function `.wm_coeff_tlv_put':
wm_adsp.c:(.text.wm_coeff_tlv_put+0x100): undefined reference to `.cs_dsp_coeff_write_ctrl'

Caused by commit

  f6bc909e7673 ("firmware: cs_dsp: add driver to support firmware loading on Cirrus Logic DSPs")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2021-06-15  7:32 Stephen Rothwell
@ 2021-06-15  9:04 ` Srinivas Kandagatla
  0 siblings, 0 replies; 238+ messages in thread
From: Srinivas Kandagatla @ 2021-06-15  9:04 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

Many Thanks Stephen for reporting this,

I can see that two symbols have been interdependent, I have a fix for 
this, will send it today.

--srini


On 15/06/2021 08:32, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> modules_install) failed like this:
> 
> depmod: ERROR: Cycle detected: snd_soc_wcd938x -> snd_soc_wcd938x_sdw -> snd_soc_wcd938x
> depmod: ERROR: Found 2 modules in dependency cycles!
> 
> Caused by commit
> 
>    045442228868 ("ASoC: codecs: wcd938x: add audio routing and Kconfig")
> 
> (at least reverting the commit fixes the build).
> 
> I have reverted that commit for today.
> 

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2021-06-15  7:32 Stephen Rothwell
  2021-06-15  9:04 ` Srinivas Kandagatla
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2021-06-15  7:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Srinivas Kandagatla, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

depmod: ERROR: Cycle detected: snd_soc_wcd938x -> snd_soc_wcd938x_sdw -> snd_soc_wcd938x
depmod: ERROR: Found 2 modules in dependency cycles!

Caused by commit

  045442228868 ("ASoC: codecs: wcd938x: add audio routing and Kconfig")

(at least reverting the commit fixes the build).

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-04-25 23:30       ` Michael Ellerman
@ 2020-04-27 11:19         ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2020-04-27 11:19 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, YueHaibing, Pierre-Louis Bossart

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

On Sun, Apr 26, 2020 at 09:30:57AM +1000, Michael Ellerman wrote:
> Mark Brown <broonie@kernel.org> writes:

> > I am doing that but that still doesn't mean that the architectures
> > shouldn't be updated - to me this is like the architectures that don't
> > implement standard APIs, we should fix the issues they bring up but it'd
> > be a lot less noisy to sidestep the issue.

> I don't think it's really like architectures that don't implement
> standard APIs.

> It's more like architectures not building code they don't need, AFAICS
> none of the drivers under there can ever be used on powerpc.

That's generally the reason people give for not doing the standard APIs
- there were a few architectures that didn't have DMA hardware so didn't
even have stubs for the DMA API for example, until those were added you
used to end up with build testing tripping over them constantly.  It's
much rarer to have an incompatible implementation of the same thing.

> Similarly we don't build drivers/acpi.

ACPI has stubs so doesn't cause issues here.

> But if there's a good reason that we should be building it then I'm
> happy to take a patch adding it.

The build coverage seems useful.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-04-23 14:21     ` Mark Brown
@ 2020-04-25 23:30       ` Michael Ellerman
  2020-04-27 11:19         ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Michael Ellerman @ 2020-04-25 23:30 UTC (permalink / raw)
  To: Mark Brown, Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, YueHaibing, Pierre-Louis Bossart

Mark Brown <broonie@kernel.org> writes:
> On Thu, Apr 23, 2020 at 11:04:00PM +1000, Stephen Rothwell wrote:
>> On Thu, 23 Apr 2020 12:30:41 +0100 Mark Brown <broonie@kernel.org> wrote:
>
>> > It looks like this is triggered by PowerPC not including
>> > drivers/firmware - there are missing dependencies but it works for other
>> > all*configs since the dependencies all get built in those.  It would be
>> > helpful if PowerPC were fixed to include the firmware directory to
>> > improve coverage.
>
>> $ git grep drivers/firmware 'arch/*/*Kconfig*'
>> arch/arm/Kconfig:source "drivers/firmware/Kconfig"
>> arch/arm64/Kconfig:source "drivers/firmware/Kconfig"
>> arch/ia64/Kconfig:source "drivers/firmware/Kconfig"
>> arch/mips/Kconfig:source "drivers/firmware/Kconfig"
>> arch/x86/Kconfig:source "drivers/firmware/Kconfig"
>
>> so, sure, it works for some architectures.  We would need someone to do
>> the work to make sure that adding drivers/firmware to all the others
>> does not break other stuff.  Until then, please add the needed
>> dependencies.
>
> I am doing that but that still doesn't mean that the architectures
> shouldn't be updated - to me this is like the architectures that don't
> implement standard APIs, we should fix the issues they bring up but it'd
> be a lot less noisy to sidestep the issue.

I don't think it's really like architectures that don't implement
standard APIs.

It's more like architectures not building code they don't need, AFAICS
none of the drivers under there can ever be used on powerpc.

Similarly we don't build drivers/acpi.

But if there's a good reason that we should be building it then I'm
happy to take a patch adding it.

cheers

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-04-23 12:26   ` Pierre-Louis Bossart
@ 2020-04-23 14:26     ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2020-04-23 14:26 UTC (permalink / raw)
  To: Pierre-Louis Bossart
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, YueHaibing

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

On Thu, Apr 23, 2020 at 07:26:32AM -0500, Pierre-Louis Bossart wrote:

> We have a fix for this, I'll send it later today. There were still unmet
> dependencies and inconsistent use of select/depends.

I've already done a fix for the immediate issue which I'm about to send
out so that it's in before Stephen starts again tomorrow but obviously
better fixes on top of that would be good.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-04-23 13:04   ` Stephen Rothwell
@ 2020-04-23 14:21     ` Mark Brown
  2020-04-25 23:30       ` Michael Ellerman
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2020-04-23 14:21 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, YueHaibing, Pierre-Louis Bossart

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

On Thu, Apr 23, 2020 at 11:04:00PM +1000, Stephen Rothwell wrote:
> On Thu, 23 Apr 2020 12:30:41 +0100 Mark Brown <broonie@kernel.org> wrote:

> > It looks like this is triggered by PowerPC not including
> > drivers/firmware - there are missing dependencies but it works for other
> > all*configs since the dependencies all get built in those.  It would be
> > helpful if PowerPC were fixed to include the firmware directory to
> > improve coverage.

> $ git grep drivers/firmware 'arch/*/*Kconfig*'
> arch/arm/Kconfig:source "drivers/firmware/Kconfig"
> arch/arm64/Kconfig:source "drivers/firmware/Kconfig"
> arch/ia64/Kconfig:source "drivers/firmware/Kconfig"
> arch/mips/Kconfig:source "drivers/firmware/Kconfig"
> arch/x86/Kconfig:source "drivers/firmware/Kconfig"

> so, sure, it works for some architectures.  We would need someone to do
> the work to make sure that adding drivers/firmware to all the others
> does not break other stuff.  Until then, please add the needed
> dependencies.

I am doing that but that still doesn't mean that the architectures
shouldn't be updated - to me this is like the architectures that don't
implement standard APIs, we should fix the issues they bring up but it'd
be a lot less noisy to sidestep the issue.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-04-23 11:30 ` Mark Brown
  2020-04-23 12:26   ` Pierre-Louis Bossart
@ 2020-04-23 13:04   ` Stephen Rothwell
  2020-04-23 14:21     ` Mark Brown
  1 sibling, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2020-04-23 13:04 UTC (permalink / raw)
  To: Mark Brown
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, YueHaibing, Pierre-Louis Bossart

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

Hi Mark,

On Thu, 23 Apr 2020 12:30:41 +0100 Mark Brown <broonie@kernel.org> wrote:
>
> On Thu, Apr 23, 2020 at 03:55:39PM +1000, Stephen Rothwell wrote:
> 
> > Presumably caused by (one of) commits  
> 
> >   fe17e6cdc0fe ("ASoC: SOF: imx8: Fix randbuild error")
> >   cb0312f61c3e ("ASoC: SOF: imx: fix undefined reference issue")  
> 
> > I just removed the COMPILE_TEST from SND_SOC_SOF_IMX_TOPLEVEL for today.  
> 
> It looks like this is triggered by PowerPC not including
> drivers/firmware - there are missing dependencies but it works for other
> all*configs since the dependencies all get built in those.  It would be
> helpful if PowerPC were fixed to include the firmware directory to
> improve coverage.

$ git grep drivers/firmware 'arch/*/*Kconfig*'
arch/arm/Kconfig:source "drivers/firmware/Kconfig"
arch/arm64/Kconfig:source "drivers/firmware/Kconfig"
arch/ia64/Kconfig:source "drivers/firmware/Kconfig"
arch/mips/Kconfig:source "drivers/firmware/Kconfig"
arch/x86/Kconfig:source "drivers/firmware/Kconfig"

so, sure, it works for some architectures.  We would need someone to do
the work to make sure that adding drivers/firmware to all the others
does not break other stuff.  Until then, please add the needed
dependencies.

Thanks.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-04-23 11:30 ` Mark Brown
@ 2020-04-23 12:26   ` Pierre-Louis Bossart
  2020-04-23 14:26     ` Mark Brown
  2020-04-23 13:04   ` Stephen Rothwell
  1 sibling, 1 reply; 238+ messages in thread
From: Pierre-Louis Bossart @ 2020-04-23 12:26 UTC (permalink / raw)
  To: Mark Brown, Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, YueHaibing



On 4/23/20 6:30 AM, Mark Brown wrote:
> On Thu, Apr 23, 2020 at 03:55:39PM +1000, Stephen Rothwell wrote:
> 
>> Presumably caused by (one of) commits
> 
>>    fe17e6cdc0fe ("ASoC: SOF: imx8: Fix randbuild error")
>>    cb0312f61c3e ("ASoC: SOF: imx: fix undefined reference issue")
> 
>> I just removed the COMPILE_TEST from SND_SOC_SOF_IMX_TOPLEVEL for today.
> 
> It looks like this is triggered by PowerPC not including
> drivers/firmware - there are missing dependencies but it works for other
> all*configs since the dependencies all get built in those.  It would be
> helpful if PowerPC were fixed to include the firmware directory to
> improve coverage.

We have a fix for this, I'll send it later today. There were still unmet 
dependencies and inconsistent use of select/depends.

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-04-23  5:55 Stephen Rothwell
@ 2020-04-23 11:30 ` Mark Brown
  2020-04-23 12:26   ` Pierre-Louis Bossart
  2020-04-23 13:04   ` Stephen Rothwell
  0 siblings, 2 replies; 238+ messages in thread
From: Mark Brown @ 2020-04-23 11:30 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, YueHaibing, Pierre-Louis Bossart

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

On Thu, Apr 23, 2020 at 03:55:39PM +1000, Stephen Rothwell wrote:

> Presumably caused by (one of) commits

>   fe17e6cdc0fe ("ASoC: SOF: imx8: Fix randbuild error")
>   cb0312f61c3e ("ASoC: SOF: imx: fix undefined reference issue")

> I just removed the COMPILE_TEST from SND_SOC_SOF_IMX_TOPLEVEL for today.

It looks like this is triggered by PowerPC not including
drivers/firmware - there are missing dependencies but it works for other
all*configs since the dependencies all get built in those.  It would be
helpful if PowerPC were fixed to include the firmware directory to
improve coverage.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2020-04-23  5:55 Stephen Rothwell
  2020-04-23 11:30 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2020-04-23  5:55 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, YueHaibing,
	Pierre-Louis Bossart

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

Hi all,

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

ld: sound/soc/sof/imx/imx8.o: in function `.imx8_run':
imx8.c:(.text.imx8_run+0x40): undefined reference to `.imx_sc_misc_set_control'
ld: imx8.c:(.text.imx8_run+0xac): undefined reference to `.imx_sc_pm_cpu_start'
ld: sound/soc/sof/imx/imx8.o: in function `.imx8x_run':
imx8.c:(.text.imx8x_run+0x40): undefined reference to `.imx_sc_misc_set_control'
ld: imx8.c:(.text.imx8x_run+0xa8): undefined reference to `.imx_sc_misc_set_control'
ld: imx8.c:(.text.imx8x_run+0x108): undefined reference to `.imx_sc_misc_set_control'
ld: imx8.c:(.text.imx8x_run+0x168): undefined reference to `.imx_sc_misc_set_control'
ld: imx8.c:(.text.imx8x_run+0x1cc): undefined reference to `.imx_sc_pm_cpu_start'
ld: sound/soc/sof/imx/imx8.o: in function `.imx8_probe':
imx8.c:(.text.imx8_probe+0x2c8): undefined reference to `.imx_scu_get_handle'

Presumably caused by (one of) commits

  fe17e6cdc0fe ("ASoC: SOF: imx8: Fix randbuild error")
  cb0312f61c3e ("ASoC: SOF: imx: fix undefined reference issue")

I just removed the COMPILE_TEST from SND_SOC_SOF_IMX_TOPLEVEL for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-04-21  2:11 Stephen Rothwell
@ 2020-04-22 11:19 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2020-04-22 11:19 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Karol Trzcinski, Pierre-Louis Bossart

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

On Tue, Apr 21, 2020 at 12:11:30PM +1000, Stephen Rothwell wrote:

> In file included from <command-line>:32:
> ./usr/include/sound/sof/ext_manifest.h:20:10: fatal error: sound/sof/info.h: No such file or directory
>    20 | #include <sound/sof/info.h>
>       |          ^~~~~~~~~~~~~~~~~~

> Caused by commit

>   9e72f13ee541 ("ASoC: SOF: ext_manifest: parse windows")

> I have used the sound-asoc tree from next-20200414 again today.

Thanks for the report, I'm in the process of reverting that and a bunch
of other commits to fix this.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2020-04-21  2:11 Stephen Rothwell
  2020-04-22 11:19 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2020-04-21  2:11 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Karol Trzcinski, Pierre-Louis Bossart

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

Hi all,

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

In file included from <command-line>:32:
./usr/include/sound/sof/ext_manifest.h:20:10: fatal error: sound/sof/info.h: No such file or directory
   20 | #include <sound/sof/info.h>
      |          ^~~~~~~~~~~~~~~~~~

Caused by commit

  9e72f13ee541 ("ASoC: SOF: ext_manifest: parse windows")

I have used the sound-asoc tree from next-20200414 again today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2020-01-15  1:02 Stephen Rothwell
@ 2020-01-15  5:09 ` Marek Vasut
  0 siblings, 0 replies; 238+ messages in thread
From: Marek Vasut @ 2020-01-15  5:09 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

On 1/15/20 2:02 AM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> In file included from include/linux/phy/phy.h:17,
>                  from drivers/phy/phy-core.c:17:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from include/linux/usb/of.h:12,
>                  from drivers/usb/common/common.c:15:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from include/linux/usb/of.h:12,
>                  from drivers/usb/phy/of.c:9:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from drivers/usb/host/ohci-hcd.c:37:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from drivers/usb/host/ehci-hub.c:17,
>                  from drivers/usb/host/ehci-hcd.c:305:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/amba/bus.h:19,
>                  from drivers/of/platform.c:14:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> In file included from include/linux/amba/bus.h:19,
>                  from drivers/of/platform.c:14:
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from drivers/usb/core/phy.c:12:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from drivers/ata/ahci.h:25,
>                  from drivers/ata/ahci.c:35:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from include/linux/usb/of.h:12,
>                  from drivers/usb/core/usb.c:42:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from include/linux/usb/of.h:12,
>                  from drivers/usb/core/of.c:12:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from include/linux/usb/of.h:12,
>                  from drivers/usb/core/of.c:12:
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from drivers/ata/ahci.h:25,
>                  from drivers/ata/libahci.c:32:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from drivers/usb/core/hcd.c:35:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from drivers/ata/sata_mv.c:50:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from include/linux/usb/of.h:12,
>                  from drivers/usb/core/message.c:21:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> In file included from include/linux/phy/phy.h:17,
>                  from include/linux/usb/otg.h:13,
>                  from drivers/usb/core/hub.c:26:
> include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
>   600 | {
>       | ^
> include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
>   599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
>       | ^~~~~~~~~~~~~~~~~~
> 
> Caused by commit
> 
>   b059b7e0ec32 ("regulator: core: Add regulator_is_equal() helper")
> 
> I have added the following fix patch for today.
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Wed, 15 Jan 2020 11:58:36 +1100
> Subject: [PATCH] fix for "regulator: core: Add regulator_is_equal() helper"
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  include/linux/regulator/consumer.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
> index 2c89d886595c..6a92fd3105a3 100644
> --- a/include/linux/regulator/consumer.h
> +++ b/include/linux/regulator/consumer.h
> @@ -596,7 +596,7 @@ regulator_bulk_set_supply_names(struct regulator_bulk_data *consumers,
>  }
>  
>  static inline bool
> -regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
> +regulator_is_equal(struct regulator *reg1, struct regulator *reg2)
>  {
>  	return false;
>  }

Sorry for the breakage, thanks for the patch.

Acked-by: Marek Vasut <marex@denx.de>

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2020-01-15  1:02 Stephen Rothwell
  2020-01-15  5:09 ` Marek Vasut
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2020-01-15  1:02 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Marek Vasut

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

Hi all,

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

In file included from include/linux/phy/phy.h:17,
                 from drivers/phy/phy-core.c:17:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from include/linux/usb/of.h:12,
                 from drivers/usb/common/common.c:15:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from include/linux/usb/of.h:12,
                 from drivers/usb/phy/of.c:9:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from drivers/usb/host/ohci-hcd.c:37:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from drivers/usb/host/ehci-hub.c:17,
                 from drivers/usb/host/ehci-hcd.c:305:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/amba/bus.h:19,
                 from drivers/of/platform.c:14:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
In file included from include/linux/amba/bus.h:19,
                 from drivers/of/platform.c:14:
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from drivers/usb/core/phy.c:12:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from drivers/ata/ahci.h:25,
                 from drivers/ata/ahci.c:35:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from include/linux/usb/of.h:12,
                 from drivers/usb/core/usb.c:42:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from include/linux/usb/of.h:12,
                 from drivers/usb/core/of.c:12:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from include/linux/usb/of.h:12,
                 from drivers/usb/core/of.c:12:
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from drivers/ata/ahci.h:25,
                 from drivers/ata/libahci.c:32:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from drivers/usb/core/hcd.c:35:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from drivers/ata/sata_mv.c:50:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from include/linux/usb/of.h:12,
                 from drivers/usb/core/message.c:21:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~
In file included from include/linux/phy/phy.h:17,
                 from include/linux/usb/otg.h:13,
                 from drivers/usb/core/hub.c:26:
include/linux/regulator/consumer.h:600:1: error: expected identifier or '(' before '{' token
  600 | {
      | ^
include/linux/regulator/consumer.h:599:1: warning: 'regulator_is_equal' declared 'static' but never defined [-Wunused-function]
  599 | regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
      | ^~~~~~~~~~~~~~~~~~

Caused by commit

  b059b7e0ec32 ("regulator: core: Add regulator_is_equal() helper")

I have added the following fix patch for today.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 15 Jan 2020 11:58:36 +1100
Subject: [PATCH] fix for "regulator: core: Add regulator_is_equal() helper"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/regulator/consumer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index 2c89d886595c..6a92fd3105a3 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -596,7 +596,7 @@ regulator_bulk_set_supply_names(struct regulator_bulk_data *consumers,
 }
 
 static inline bool
-regulator_is_equal(struct regulator *reg1, struct regulator *reg2);
+regulator_is_equal(struct regulator *reg1, struct regulator *reg2)
 {
 	return false;
 }
-- 
2.24.0

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2020-01-14  0:57 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2020-01-14  0:57 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Jack Yu

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

Hi all,

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

sound/soc/codecs/rt715-sdw.c: In function 'rt715_dev_resume':
sound/soc/codecs/rt715-sdw.c:568:28: error: implicit declaration of function 'to_sdw_slave_device' [-Werror=implicit-function-declaration]
  568 |  struct sdw_slave *slave = to_sdw_slave_device(dev);
      |                            ^~~~~~~~~~~~~~~~~~~
sound/soc/codecs/rt715-sdw.c:568:28: warning: initialization of 'struct sdw_slave *' from 'int' makes pointer from integer without a cast [-Wint-conversion]

Caused by commit

  d1ede0641b05 ("ASoC: rt715: add RT715 codec driver")

I have used the sound-asoc tree from next-20200113 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-10-15  6:46 ` Daniel Baluta
@ 2019-10-15 11:38   ` Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2019-10-15 11:38 UTC (permalink / raw)
  To: Daniel Baluta
  Cc: Mark Brown, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Daniel Baluta, Kuninori Morimoto

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

Hi Daniel,

On Tue, 15 Oct 2019 09:46:33 +0300 Daniel Baluta <daniel.baluta@gmail.com> wrote:
>
> > I added the following fix for today (include/sound/sof/header.h
> > probably should have something similar):  
> 
> Thanks for doing this! Is this patch in linux-next already? I couldn't find it.

Its part of the commit that merges the cound-asoc tree i.e. not a
separate commit, but sould be applied to the sound-asoc tree itself.

> For include/sound/sof/header.h Morimoto-san sent a patch to alsa-devel.

Great, thanks.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-10-11  0:01 Stephen Rothwell
@ 2019-10-15  6:46 ` Daniel Baluta
  2019-10-15 11:38   ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Daniel Baluta @ 2019-10-15  6:46 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Daniel Baluta, Kuninori Morimoto

Hi Stephen,

On Fri, Oct 11, 2019 at 3:04 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from include/sound/sof/dai-imx.h:11,
>                  from <command-line>:
> include/sound/sof/header.h:125:2: error: unknown type name 'uint32_t'
>   125 |  uint32_t size;   /**< size of structure */
>       |  ^~~~~~~~
> include/sound/sof/header.h:136:2: error: unknown type name 'uint32_t'
>   136 |  uint32_t size;   /**< size of structure */
>       |  ^~~~~~~~
> include/sound/sof/header.h:137:2: error: unknown type name 'uint32_t'
>   137 |  uint32_t cmd;   /**< SOF_IPC_GLB_ + cmd */
>       |  ^~~~~~~~
> include/sound/sof/header.h:146:2: error: unknown type name 'int32_t'
>   146 |  int32_t error;   /**< negative error numbers */
>       |  ^~~~~~~
> include/sound/sof/header.h:160:2: error: unknown type name 'uint32_t'
>   160 |  uint32_t count;  /**< count of 0 means end of compound sequence */
>       |  ^~~~~~~~
> include/sound/sof/header.h:167:2: error: unknown type name 'uint32_t'
>   167 |  uint32_t arch;  /* Identifier of architecture */
>       |  ^~~~~~~~
> include/sound/sof/header.h:168:2: error: unknown type name 'uint32_t'
>   168 |  uint32_t totalsize; /* Total size of oops message */
>       |  ^~~~~~~~
> include/sound/sof/header.h:175:2: error: unknown type name 'uint32_t'
>   175 |  uint32_t configidhi; /* ConfigID hi 32bits */
>       |  ^~~~~~~~
> include/sound/sof/header.h:176:2: error: unknown type name 'uint32_t'
>   176 |  uint32_t configidlo; /* ConfigID lo 32bits */
>       |  ^~~~~~~~
> include/sound/sof/header.h:177:2: error: unknown type name 'uint32_t'
>   177 |  uint32_t numaregs; /* Special regs num */
>       |  ^~~~~~~~
> include/sound/sof/header.h:178:2: error: unknown type name 'uint32_t'
>   178 |  uint32_t stackoffset; /* Offset to stack pointer from beginning of
>       |  ^~~~~~~~
> include/sound/sof/header.h:181:2: error: unknown type name 'uint32_t'
>   181 |  uint32_t stackptr; /* Stack ptr */
>       |  ^~~~~~~~
> In file included from <command-line>:
> include/sound/sof/dai-imx.h:18:2: error: unknown type name 'uint16_t'
>    18 |  uint16_t reserved1;
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:19:2: error: unknown type name 'uint16_t'
>    19 |  uint16_t mclk_id;
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:20:2: error: unknown type name 'uint32_t'
>    20 |  uint32_t mclk_direction;
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:22:2: error: unknown type name 'uint32_t'
>    22 |  uint32_t mclk_rate; /* MCLK frequency in Hz */
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:23:2: error: unknown type name 'uint32_t'
>    23 |  uint32_t fsync_rate; /* FSYNC frequency in Hz */
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:24:2: error: unknown type name 'uint32_t'
>    24 |  uint32_t bclk_rate; /* BCLK frequency in Hz */
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:27:2: error: unknown type name 'uint32_t'
>    27 |  uint32_t tdm_slots;
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:28:2: error: unknown type name 'uint32_t'
>    28 |  uint32_t rx_slots;
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:29:2: error: unknown type name 'uint32_t'
>    29 |  uint32_t tx_slots;
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:30:2: error: unknown type name 'uint16_t'
>    30 |  uint16_t tdm_slot_width;
>       |  ^~~~~~~~
> include/sound/sof/dai-imx.h:31:2: error: unknown type name 'uint16_t'
>    31 |  uint16_t reserved2; /* alignment */
>       |  ^~~~~~~~
>
> Caused by commit
>
>   b4be427683cf ("ASoC: SOF: imx: Describe ESAI parameters to be sent to DSP")
>
> I added the following fix for today (include/sound/sof/header.h
> probably should have something similar):

Thanks for doing this! Is this patch in linux-next already? I couldn't find it.

For include/sound/sof/header.h Morimoto-san sent a patch to alsa-devel.

>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Fri, 11 Oct 2019 10:56:46 +1100
> Subject: [PATCH] ASOC: SOF: dai-imx.h needs linux/types.h
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  include/sound/sof/dai-imx.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/sound/sof/dai-imx.h b/include/sound/sof/dai-imx.h
> index e02fb0b0fae1..31ccb87a8273 100644
> --- a/include/sound/sof/dai-imx.h
> +++ b/include/sound/sof/dai-imx.h
> @@ -8,6 +8,7 @@
>  #ifndef __INCLUDE_SOUND_SOF_DAI_IMX_H__
>  #define __INCLUDE_SOUND_SOF_DAI_IMX_H__
>
> +#include <linux/types.h>
>  #include <sound/sof/header.h>
>
>  /* ESAI Configuration Request - SOF_IPC_DAI_ESAI_CONFIG */
> --
> 2.23.0
>
> --
> Cheers,
> Stephen Rothwell

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2019-10-11  0:01 Stephen Rothwell
  2019-10-15  6:46 ` Daniel Baluta
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2019-10-11  0:01 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Daniel Baluta

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

Hi all,

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

In file included from include/sound/sof/dai-imx.h:11,
                 from <command-line>:
include/sound/sof/header.h:125:2: error: unknown type name 'uint32_t'
  125 |  uint32_t size;   /**< size of structure */
      |  ^~~~~~~~
include/sound/sof/header.h:136:2: error: unknown type name 'uint32_t'
  136 |  uint32_t size;   /**< size of structure */
      |  ^~~~~~~~
include/sound/sof/header.h:137:2: error: unknown type name 'uint32_t'
  137 |  uint32_t cmd;   /**< SOF_IPC_GLB_ + cmd */
      |  ^~~~~~~~
include/sound/sof/header.h:146:2: error: unknown type name 'int32_t'
  146 |  int32_t error;   /**< negative error numbers */
      |  ^~~~~~~
include/sound/sof/header.h:160:2: error: unknown type name 'uint32_t'
  160 |  uint32_t count;  /**< count of 0 means end of compound sequence */
      |  ^~~~~~~~
include/sound/sof/header.h:167:2: error: unknown type name 'uint32_t'
  167 |  uint32_t arch;  /* Identifier of architecture */
      |  ^~~~~~~~
include/sound/sof/header.h:168:2: error: unknown type name 'uint32_t'
  168 |  uint32_t totalsize; /* Total size of oops message */
      |  ^~~~~~~~
include/sound/sof/header.h:175:2: error: unknown type name 'uint32_t'
  175 |  uint32_t configidhi; /* ConfigID hi 32bits */
      |  ^~~~~~~~
include/sound/sof/header.h:176:2: error: unknown type name 'uint32_t'
  176 |  uint32_t configidlo; /* ConfigID lo 32bits */
      |  ^~~~~~~~
include/sound/sof/header.h:177:2: error: unknown type name 'uint32_t'
  177 |  uint32_t numaregs; /* Special regs num */
      |  ^~~~~~~~
include/sound/sof/header.h:178:2: error: unknown type name 'uint32_t'
  178 |  uint32_t stackoffset; /* Offset to stack pointer from beginning of
      |  ^~~~~~~~
include/sound/sof/header.h:181:2: error: unknown type name 'uint32_t'
  181 |  uint32_t stackptr; /* Stack ptr */
      |  ^~~~~~~~
In file included from <command-line>:
include/sound/sof/dai-imx.h:18:2: error: unknown type name 'uint16_t'
   18 |  uint16_t reserved1;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:19:2: error: unknown type name 'uint16_t'
   19 |  uint16_t mclk_id;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:20:2: error: unknown type name 'uint32_t'
   20 |  uint32_t mclk_direction;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:22:2: error: unknown type name 'uint32_t'
   22 |  uint32_t mclk_rate; /* MCLK frequency in Hz */
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:23:2: error: unknown type name 'uint32_t'
   23 |  uint32_t fsync_rate; /* FSYNC frequency in Hz */
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:24:2: error: unknown type name 'uint32_t'
   24 |  uint32_t bclk_rate; /* BCLK frequency in Hz */
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:27:2: error: unknown type name 'uint32_t'
   27 |  uint32_t tdm_slots;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:28:2: error: unknown type name 'uint32_t'
   28 |  uint32_t rx_slots;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:29:2: error: unknown type name 'uint32_t'
   29 |  uint32_t tx_slots;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:30:2: error: unknown type name 'uint16_t'
   30 |  uint16_t tdm_slot_width;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:31:2: error: unknown type name 'uint16_t'
   31 |  uint16_t reserved2; /* alignment */
      |  ^~~~~~~~

Caused by commit

  b4be427683cf ("ASoC: SOF: imx: Describe ESAI parameters to be sent to DSP")

I added the following fix for today (include/sound/sof/header.h
probably should have something similar):

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 11 Oct 2019 10:56:46 +1100
Subject: [PATCH] ASOC: SOF: dai-imx.h needs linux/types.h

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/sound/sof/dai-imx.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sound/sof/dai-imx.h b/include/sound/sof/dai-imx.h
index e02fb0b0fae1..31ccb87a8273 100644
--- a/include/sound/sof/dai-imx.h
+++ b/include/sound/sof/dai-imx.h
@@ -8,6 +8,7 @@
 #ifndef __INCLUDE_SOUND_SOF_DAI_IMX_H__
 #define __INCLUDE_SOUND_SOF_DAI_IMX_H__
 
+#include <linux/types.h>
 #include <sound/sof/header.h>
 
 /* ESAI Configuration Request - SOF_IPC_DAI_ESAI_CONFIG */
-- 
2.23.0

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-08-13 11:21   ` Mark Brown
@ 2019-08-13 13:52     ` Pierre-Louis Bossart
  0 siblings, 0 replies; 238+ messages in thread
From: Pierre-Louis Bossart @ 2019-08-13 13:52 UTC (permalink / raw)
  To: Mark Brown, Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Cezary Rojewski


>>> Looks like the merge resolution is not quite right.
>>>
>>> I have used the sound-asoc tree from next-20190808 for today.
> 
>> I am still getting this failure ...
> 
> Intel people, any thoughts?

I provided a solution on alsa-devel yesterday, see 'ASoC: SOF: fix HDA 
direct MMIO access'



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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-08-13  3:16 ` Stephen Rothwell
@ 2019-08-13 11:21   ` Mark Brown
  2019-08-13 13:52     ` Pierre-Louis Bossart
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2019-08-13 11:21 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Pierre-Louis Bossart, Cezary Rojewski

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

On Tue, Aug 13, 2019 at 01:16:11PM +1000, Stephen Rothwell wrote:
> On Fri, 9 Aug 2019 13:08:11 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > sound/soc/sof/intel/hda-dsp.c: In function 'hda_resume':
> > sound/soc/sof/intel/hda-dsp.c:360:22: error: 'hlink' undeclared (first use in this function)
> >   list_for_each_entry(hlink, &bus->hlink_list, list)
> >                       ^~~~~
> > include/linux/list.h:577:7: note: in definition of macro 'list_for_each_entry'
> >   for (pos = list_first_entry(head, typeof(*pos), member); \
> >        ^~~
> > sound/soc/sof/intel/hda-dsp.c:360:22: note: each undeclared identifier is reported only once for each function it appears in
> >   list_for_each_entry(hlink, &bus->hlink_list, list)
> >                       ^~~~~
> > include/linux/list.h:577:7: note: in definition of macro 'list_for_each_entry'
> >   for (pos = list_first_entry(head, typeof(*pos), member); \
> >        ^~~
> > In file included from include/linux/list.h:9,
> >                  from include/linux/kobject.h:19,
> >                  from include/linux/device.h:16,
> >                  from include/sound/hdaudio.h:9,
> >                  from include/sound/hdaudio_ext.h:5,
> >                  from sound/soc/sof/intel/hda-dsp.c:18:
> > sound/soc/sof/intel/hda-dsp.c:360:30: error: 'bus' undeclared (first use in this function)
> >   list_for_each_entry(hlink, &bus->hlink_list, list)
> >                               ^~~
> > include/linux/kernel.h:972:26: note: in definition of macro 'container_of'
> >   void *__mptr = (void *)(ptr);     \
> >                           ^~~
> > include/linux/list.h:490:2: note: in expansion of macro 'list_entry'
> >   list_entry((ptr)->next, type, member)
> >   ^~~~~~~~~~
> > include/linux/list.h:577:13: note: in expansion of macro 'list_first_entry'
> >   for (pos = list_first_entry(head, typeof(*pos), member); \
> >              ^~~~~~~~~~~~~~~~
> > sound/soc/sof/intel/hda-dsp.c:360:2: note: in expansion of macro 'list_for_each_entry'
> >   list_for_each_entry(hlink, &bus->hlink_list, list)
> >   ^~~~~~~~~~~~~~~~~~~
> > sound/soc/sof/intel/hda-dsp.c:364:2: error: #else without #if
> >  #else
> >   ^~~~
> > sound/soc/sof/intel/hda-dsp.c:390:2: error: #endif without #if
> >  #endif
> >   ^~~~~
> > 
> > Caused by commit
> > 
> >   c2f16a94a804 ("Merge branch 'topic/hda-bus-ops-cleanup' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-5.4")
> > 
> > Looks like the merge resolution is not quite right.
> > 
> > I have used the sound-asoc tree from next-20190808 for today.

> I am still getting this failure ...

Intel people, any thoughts?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-08-09  3:08 Stephen Rothwell
@ 2019-08-13  3:16 ` Stephen Rothwell
  2019-08-13 11:21   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2019-08-13  3:16 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

On Fri, 9 Aug 2019 13:08:11 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> In file included from include/linux/kobject.h:19,
>                  from include/linux/device.h:16,
>                  from include/sound/hdaudio.h:9,
>                  from include/sound/hdaudio_ext.h:5,
>                  from sound/soc/sof/intel/hda-dsp.c:18:
> sound/soc/sof/intel/hda-dsp.c: In function 'hda_resume':
> sound/soc/sof/intel/hda-dsp.c:360:22: error: 'hlink' undeclared (first use in this function)
>   list_for_each_entry(hlink, &bus->hlink_list, list)
>                       ^~~~~
> include/linux/list.h:577:7: note: in definition of macro 'list_for_each_entry'
>   for (pos = list_first_entry(head, typeof(*pos), member); \
>        ^~~
> sound/soc/sof/intel/hda-dsp.c:360:22: note: each undeclared identifier is reported only once for each function it appears in
>   list_for_each_entry(hlink, &bus->hlink_list, list)
>                       ^~~~~
> include/linux/list.h:577:7: note: in definition of macro 'list_for_each_entry'
>   for (pos = list_first_entry(head, typeof(*pos), member); \
>        ^~~
> In file included from include/linux/list.h:9,
>                  from include/linux/kobject.h:19,
>                  from include/linux/device.h:16,
>                  from include/sound/hdaudio.h:9,
>                  from include/sound/hdaudio_ext.h:5,
>                  from sound/soc/sof/intel/hda-dsp.c:18:
> sound/soc/sof/intel/hda-dsp.c:360:30: error: 'bus' undeclared (first use in this function)
>   list_for_each_entry(hlink, &bus->hlink_list, list)
>                               ^~~
> include/linux/kernel.h:972:26: note: in definition of macro 'container_of'
>   void *__mptr = (void *)(ptr);     \
>                           ^~~
> include/linux/list.h:490:2: note: in expansion of macro 'list_entry'
>   list_entry((ptr)->next, type, member)
>   ^~~~~~~~~~
> include/linux/list.h:577:13: note: in expansion of macro 'list_first_entry'
>   for (pos = list_first_entry(head, typeof(*pos), member); \
>              ^~~~~~~~~~~~~~~~
> sound/soc/sof/intel/hda-dsp.c:360:2: note: in expansion of macro 'list_for_each_entry'
>   list_for_each_entry(hlink, &bus->hlink_list, list)
>   ^~~~~~~~~~~~~~~~~~~
> sound/soc/sof/intel/hda-dsp.c:364:2: error: #else without #if
>  #else
>   ^~~~
> sound/soc/sof/intel/hda-dsp.c:390:2: error: #endif without #if
>  #endif
>   ^~~~~
> 
> Caused by commit
> 
>   c2f16a94a804 ("Merge branch 'topic/hda-bus-ops-cleanup' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-5.4")
> 
> Looks like the merge resolution is not quite right.
> 
> I have used the sound-asoc tree from next-20190808 for today.

I am still getting this failure ...
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2019-08-09  3:08 Stephen Rothwell
  2019-08-13  3:16 ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2019-08-09  3:08 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

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

In file included from include/linux/kobject.h:19,
                 from include/linux/device.h:16,
                 from include/sound/hdaudio.h:9,
                 from include/sound/hdaudio_ext.h:5,
                 from sound/soc/sof/intel/hda-dsp.c:18:
sound/soc/sof/intel/hda-dsp.c: In function 'hda_resume':
sound/soc/sof/intel/hda-dsp.c:360:22: error: 'hlink' undeclared (first use in this function)
  list_for_each_entry(hlink, &bus->hlink_list, list)
                      ^~~~~
include/linux/list.h:577:7: note: in definition of macro 'list_for_each_entry'
  for (pos = list_first_entry(head, typeof(*pos), member); \
       ^~~
sound/soc/sof/intel/hda-dsp.c:360:22: note: each undeclared identifier is reported only once for each function it appears in
  list_for_each_entry(hlink, &bus->hlink_list, list)
                      ^~~~~
include/linux/list.h:577:7: note: in definition of macro 'list_for_each_entry'
  for (pos = list_first_entry(head, typeof(*pos), member); \
       ^~~
In file included from include/linux/list.h:9,
                 from include/linux/kobject.h:19,
                 from include/linux/device.h:16,
                 from include/sound/hdaudio.h:9,
                 from include/sound/hdaudio_ext.h:5,
                 from sound/soc/sof/intel/hda-dsp.c:18:
sound/soc/sof/intel/hda-dsp.c:360:30: error: 'bus' undeclared (first use in this function)
  list_for_each_entry(hlink, &bus->hlink_list, list)
                              ^~~
include/linux/kernel.h:972:26: note: in definition of macro 'container_of'
  void *__mptr = (void *)(ptr);     \
                          ^~~
include/linux/list.h:490:2: note: in expansion of macro 'list_entry'
  list_entry((ptr)->next, type, member)
  ^~~~~~~~~~
include/linux/list.h:577:13: note: in expansion of macro 'list_first_entry'
  for (pos = list_first_entry(head, typeof(*pos), member); \
             ^~~~~~~~~~~~~~~~
sound/soc/sof/intel/hda-dsp.c:360:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(hlink, &bus->hlink_list, list)
  ^~~~~~~~~~~~~~~~~~~
sound/soc/sof/intel/hda-dsp.c:364:2: error: #else without #if
 #else
  ^~~~
sound/soc/sof/intel/hda-dsp.c:390:2: error: #endif without #if
 #endif
  ^~~~~

Caused by commit

  c2f16a94a804 ("Merge branch 'topic/hda-bus-ops-cleanup' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-5.4")

Looks like the merge resolution is not quite right.

I have used the sound-asoc tree from next-20190808 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-04-03  4:27     ` Baolin Wang
@ 2019-04-03  4:43       ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2019-04-03  4:43 UTC (permalink / raw)
  To: Baolin Wang
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Yintang Ren

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

On Wed, Apr 03, 2019 at 12:27:53PM +0800, Baolin Wang wrote:
> On Wed, 3 Apr 2019 at 11:35, Mark Brown <broonie@kernel.org> wrote:

> > We can't leave this broken in -next for that long, can you please post
> > the patch now if you've already got it?

> OK, but I need some time to setup my environment to send this patch
> and I'll try to fix this ASAP. Thanks.

Don't worry about it, I can do things directly - it was just if you had
the patch already it seemed better to use yours but if it's going to be
painful to set up a dev environment there's no need to worry.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-04-03  3:35   ` Mark Brown
@ 2019-04-03  4:27     ` Baolin Wang
  2019-04-03  4:43       ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Baolin Wang @ 2019-04-03  4:27 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Yintang Ren

On Wed, 3 Apr 2019 at 11:35, Mark Brown <broonie@kernel.org> wrote:
>
> On Wed, Apr 03, 2019 at 10:12:47AM +0800, Baolin Wang wrote:
>
> > snd-soc-sprd-platform-objs := sprd-pcm-dma.o sprd-pcm-compress.o
>
> > obj-$(CONFIG_SND_SOC_SPRD) += snd-soc-sprd-platform.o
>
> > I will send out one incremental patch to fix this issue after my
> > business trip. Thanks.
>
> We can't leave this broken in -next for that long, can you please post
> the patch now if you've already got it?

OK, but I need some time to setup my environment to send this patch
and I'll try to fix this ASAP. Thanks.

-- 
Baolin Wang
Best Regards

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-04-03  2:12 ` Baolin Wang
@ 2019-04-03  3:35   ` Mark Brown
  2019-04-03  4:27     ` Baolin Wang
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2019-04-03  3:35 UTC (permalink / raw)
  To: Baolin Wang
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Yintang Ren

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

On Wed, Apr 03, 2019 at 10:12:47AM +0800, Baolin Wang wrote:

> snd-soc-sprd-platform-objs := sprd-pcm-dma.o sprd-pcm-compress.o

> obj-$(CONFIG_SND_SOC_SPRD) += snd-soc-sprd-platform.o

> I will send out one incremental patch to fix this issue after my
> business trip. Thanks.

We can't leave this broken in -next for that long, can you please post
the patch now if you've already got it?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-04-03  0:11 Stephen Rothwell
@ 2019-04-03  2:12 ` Baolin Wang
  2019-04-03  3:35   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Baolin Wang @ 2019-04-03  2:12 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Yintang Ren

Hi,

On Wed, 3 Apr 2019 at 08:11, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: "sprd_platform_compr_ops" [sound/soc/sprd/sprd-pcm-dma.ko] undefined!
>
> Caused by commit
>
>   cce1396936ef ("ASoC: sprd: Add Spreadtrum audio compress offload support")
>
> I have used the sound-asoc tree from next-20190402 for today.
>

Thanks for pointing this out. I think I should fix the Makefile like this

snd-soc-sprd-platform-objs := sprd-pcm-dma.o sprd-pcm-compress.o

obj-$(CONFIG_SND_SOC_SPRD) += snd-soc-sprd-platform.o

I will send out one incremental patch to fix this issue after my
business trip. Thanks.
-- 
Baolin Wang
Best Regards

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2019-04-03  0:11 Stephen Rothwell
  2019-04-03  2:12 ` Baolin Wang
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2019-04-03  0:11 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Baolin Wang,
	Yintang Ren

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

Hi all,

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

ERROR: "sprd_platform_compr_ops" [sound/soc/sprd/sprd-pcm-dma.ko] undefined!

Caused by commit

  cce1396936ef ("ASoC: sprd: Add Spreadtrum audio compress offload support")

I have used the sound-asoc tree from next-20190402 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-04-01 11:11       ` Michael Ellerman
@ 2019-04-02  5:14         ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2019-04-02  5:14 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Annaliese McDermond,
	Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev

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

On Mon, Apr 01, 2019 at 10:11:44PM +1100, Michael Ellerman wrote:

> Anyway I think what you've done in next, make the code depend on
> COMMON_CLOCK, is the best option. If anyone cares about that driver on
> powerpc platforms that don't support COMMON_CLOCK they should speak up.

It's probably fine for now for this one driver but it's going to cause
issues going forwards since we're trying to make the framework's clock
handling more standard.  

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-03-27 11:57     ` Mark Brown
@ 2019-04-01 11:11       ` Michael Ellerman
  2019-04-02  5:14         ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Michael Ellerman @ 2019-04-01 11:11 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Annaliese McDermond,
	Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev

Mark Brown <broonie@kernel.org> writes:
> On Wed, Mar 27, 2019 at 03:29:55PM +1100, Michael Ellerman wrote:
>> Mark Brown <broonie@kernel.org> writes:
>
>> > Hrm, seems PowerPC is still not using the common clock API - is there
>> > any plan for that?  There are some ASoC PowerPC uses so it's going to be
>> > a bit of an issue as we expand our use of the clock API.
>
>> I don't know anything about the common clock API. What would it involve
>> for powerpc to use it?
>
> It's what's in drivers/clk - you'd have to provide clock drivers for all
> the clocks that are current supported by arch-specific code, make sure
> that those drivers can be instantiated and then remove the custom
> implementation of the clock API in arch/powerpc in favour of those.

OK. I realise we do have some support for the common clock API, but only
on certain sub-platforms (PPC_MPC512x, PPC_MPC52xx, PPC_E500MC).

On other platforms we have nothing at all AFAICS.

Seems Ben posted an RFC to support it in 2009, but nothing since:
  http://patchwork.ozlabs.org/patch/31551/


Anyway I think what you've done in next, make the code depend on
COMMON_CLOCK, is the best option. If anyone cares about that driver on
powerpc platforms that don't support COMMON_CLOCK they should speak up.

cheers

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-03-27  4:29   ` Michael Ellerman
@ 2019-03-27 11:57     ` Mark Brown
  2019-04-01 11:11       ` Michael Ellerman
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2019-03-27 11:57 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Annaliese McDermond,
	Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev

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

On Wed, Mar 27, 2019 at 03:29:55PM +1100, Michael Ellerman wrote:
> Mark Brown <broonie@kernel.org> writes:

> > Hrm, seems PowerPC is still not using the common clock API - is there
> > any plan for that?  There are some ASoC PowerPC uses so it's going to be
> > a bit of an issue as we expand our use of the clock API.

> I don't know anything about the common clock API. What would it involve
> for powerpc to use it?

It's what's in drivers/clk - you'd have to provide clock drivers for all
the clocks that are current supported by arch-specific code, make sure
that those drivers can be instantiated and then remove the custom
implementation of the clock API in arch/powerpc in favour of those.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-03-26 13:15 ` Mark Brown
@ 2019-03-27  4:29   ` Michael Ellerman
  2019-03-27 11:57     ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Michael Ellerman @ 2019-03-27  4:29 UTC (permalink / raw)
  To: Mark Brown, Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Annaliese McDermond,
	Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev

Mark Brown <broonie@kernel.org> writes:
> On Tue, Mar 26, 2019 at 01:33:49PM +1100, Stephen Rothwell wrote:
>
>> After merging the sound-asoc tree, today's linux-next build (powerpc
>> allyesconfig) failed like this:
>
>> sound/soc/codecs/tlv320aic32x4-clk.c: In function 'clk_aic32x4_pll_prepare':
>> include/linux/kernel.h:979:32: error: dereferencing pointer to incomplete type 'struct clk_hw'
>>   BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
>>                                 ^~~~~~
>
> Hrm, seems PowerPC is still not using the common clock API - is there
> any plan for that?  There are some ASoC PowerPC uses so it's going to be
> a bit of an issue as we expand our use of the clock API.

I don't know anything about the common clock API. What would it involve
for powerpc to use it?

cheers

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2019-03-26 23:03 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2019-03-26 23:03 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Viorel Suman

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

Hi all,

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

In file included from include/linux/printk.h:330,
                 from include/linux/kernel.h:15,
                 from include/linux/clk.h:16,
                 from sound/soc/fsl/fsl_audmix.c:8:
sound/soc/fsl/fsl_audmix.c: In function 'fsl_audmix_state_trans':
include/linux/dynamic_debug.h:80:13: error: initializer element is not constant
   .format = (fmt),    \
             ^
include/linux/dynamic_debug.h:116:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
  DEFINE_DYNAMIC_DEBUG_METADATA(id, fmt);  \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:136:2: note: in expansion of macro '__dynamic_func_call'
  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:150:2: note: in expansion of macro '_dynamic_func_call'
  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
  ^~~~~~~~~~~~~~~~~~
include/linux/device.h:1493:2: note: in expansion of macro 'dynamic_dev_dbg'
  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~
sound/soc/fsl/fsl_audmix.c:93:3: note: in expansion of macro 'dev_dbg'
   dev_dbg(comp->dev, prm.msg);
   ^~~~~~~
include/linux/dynamic_debug.h:80:13: note: (near initialization for '__UNIQUE_ID_ddebug374.format')
   .format = (fmt),    \
             ^
include/linux/dynamic_debug.h:116:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
  DEFINE_DYNAMIC_DEBUG_METADATA(id, fmt);  \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:136:2: note: in expansion of macro '__dynamic_func_call'
  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:150:2: note: in expansion of macro '_dynamic_func_call'
  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
  ^~~~~~~~~~~~~~~~~~
include/linux/device.h:1493:2: note: in expansion of macro 'dynamic_dev_dbg'
  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~
sound/soc/fsl/fsl_audmix.c:93:3: note: in expansion of macro 'dev_dbg'
   dev_dbg(comp->dev, prm.msg);
   ^~~~~~~

Caused by commit

  be1df61cf06e ("ASoC: fsl: Add Audio Mixer CPU DAI driver")

I have reverted that commit (and its 2 following ones) for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-03-26  2:33 Stephen Rothwell
@ 2019-03-26 13:15 ` Mark Brown
  2019-03-27  4:29   ` Michael Ellerman
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2019-03-26 13:15 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Annaliese McDermond,
	Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman

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

On Tue, Mar 26, 2019 at 01:33:49PM +1100, Stephen Rothwell wrote:

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

> sound/soc/codecs/tlv320aic32x4-clk.c: In function 'clk_aic32x4_pll_prepare':
> include/linux/kernel.h:979:32: error: dereferencing pointer to incomplete type 'struct clk_hw'
>   BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
>                                 ^~~~~~

Hrm, seems PowerPC is still not using the common clock API - is there
any plan for that?  There are some ASoC PowerPC uses so it's going to be
a bit of an issue as we expand our use of the clock API.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2019-03-26  2:33 Stephen Rothwell
  2019-03-26 13:15 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2019-03-26  2:33 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Annaliese McDermond

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

Hi all,

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

sound/soc/codecs/tlv320aic32x4-clk.c:19:16: error: field 'hw' has incomplete type
  struct clk_hw hw;
                ^~
In file included from include/linux/init.h:5,
                 from include/linux/io.h:22,
                 from include/linux/clk-provider.h:9,
                 from sound/soc/codecs/tlv320aic32x4-clk.c:10:
sound/soc/codecs/tlv320aic32x4-clk.c: In function 'clk_aic32x4_pll_prepare':
include/linux/kernel.h:979:32: error: dereferencing pointer to incomplete type 'struct clk_hw'
  BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
                                ^~~~~~
include/linux/compiler.h:328:9: note: in definition of macro '__compiletime_assert'
   if (!(condition))     \
         ^~~~~~~~~
include/linux/compiler.h:348:2: note: in expansion of macro '_compiletime_assert'
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                     ^~~~~~~~~~~~~~~~~~
include/linux/kernel.h:979:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
  BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
  ^~~~~~~~~~~~~~~~
include/linux/kernel.h:979:20: note: in expansion of macro '__same_type'
  BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
                    ^~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:17:29: note: in expansion of macro 'container_of'
 #define to_clk_aic32x4(_hw) container_of(_hw, struct clk_aic32x4, hw)
                             ^~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:49:28: note: in expansion of macro 'to_clk_aic32x4'
  struct clk_aic32x4 *pll = to_clk_aic32x4(hw);
                            ^~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c: At top level:
sound/soc/codecs/tlv320aic32x4-clk.c:257:21: error: variable 'aic32x4_pll_ops' has initializer but incomplete type
 static const struct clk_ops aic32x4_pll_ops = {
                     ^~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:258:3: error: 'const struct clk_ops' has no member named 'prepare'
  .prepare = clk_aic32x4_pll_prepare,
   ^~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:258:13: warning: excess elements in struct initializer
  .prepare = clk_aic32x4_pll_prepare,
             ^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:258:13: note: (near initialization for 'aic32x4_pll_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:259:3: error: 'const struct clk_ops' has no member named 'unprepare'
  .unprepare = clk_aic32x4_pll_unprepare,
   ^~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:259:15: warning: excess elements in struct initializer
  .unprepare = clk_aic32x4_pll_unprepare,
               ^~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:259:15: note: (near initialization for 'aic32x4_pll_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:260:3: error: 'const struct clk_ops' has no member named 'is_prepared'
  .is_prepared = clk_aic32x4_pll_is_prepared,
   ^~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:260:17: warning: excess elements in struct initializer
  .is_prepared = clk_aic32x4_pll_is_prepared,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:260:17: note: (near initialization for 'aic32x4_pll_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:261:3: error: 'const struct clk_ops' has no member named 'recalc_rate'
  .recalc_rate = clk_aic32x4_pll_recalc_rate,
   ^~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:261:17: warning: excess elements in struct initializer
  .recalc_rate = clk_aic32x4_pll_recalc_rate,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:261:17: note: (near initialization for 'aic32x4_pll_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:262:3: error: 'const struct clk_ops' has no member named 'round_rate'
  .round_rate = clk_aic32x4_pll_round_rate,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:262:16: warning: excess elements in struct initializer
  .round_rate = clk_aic32x4_pll_round_rate,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:262:16: note: (near initialization for 'aic32x4_pll_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:263:3: error: 'const struct clk_ops' has no member named 'set_rate'
  .set_rate = clk_aic32x4_pll_set_rate,
   ^~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:263:14: warning: excess elements in struct initializer
  .set_rate = clk_aic32x4_pll_set_rate,
              ^~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:263:14: note: (near initialization for 'aic32x4_pll_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:264:3: error: 'const struct clk_ops' has no member named 'set_parent'
  .set_parent = clk_aic32x4_pll_set_parent,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:264:16: warning: excess elements in struct initializer
  .set_parent = clk_aic32x4_pll_set_parent,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:264:16: note: (near initialization for 'aic32x4_pll_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:265:3: error: 'const struct clk_ops' has no member named 'get_parent'
  .get_parent = clk_aic32x4_pll_get_parent,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:265:16: warning: excess elements in struct initializer
  .get_parent = clk_aic32x4_pll_get_parent,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:265:16: note: (near initialization for 'aic32x4_pll_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:287:21: error: variable 'aic32x4_codec_clkin_ops' has initializer but incomplete type
 static const struct clk_ops aic32x4_codec_clkin_ops = {
                     ^~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:288:3: error: 'const struct clk_ops' has no member named 'set_parent'
  .set_parent = clk_aic32x4_codec_clkin_set_parent,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:288:16: warning: excess elements in struct initializer
  .set_parent = clk_aic32x4_codec_clkin_set_parent,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:288:16: note: (near initialization for 'aic32x4_codec_clkin_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:289:3: error: 'const struct clk_ops' has no member named 'get_parent'
  .get_parent = clk_aic32x4_codec_clkin_get_parent,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:289:16: warning: excess elements in struct initializer
  .get_parent = clk_aic32x4_codec_clkin_get_parent,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:289:16: note: (near initialization for 'aic32x4_codec_clkin_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:346:21: error: variable 'aic32x4_div_ops' has initializer but incomplete type
 static const struct clk_ops aic32x4_div_ops = {
                     ^~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:347:3: error: 'const struct clk_ops' has no member named 'prepare'
  .prepare = clk_aic32x4_div_prepare,
   ^~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:347:13: warning: excess elements in struct initializer
  .prepare = clk_aic32x4_div_prepare,
             ^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:347:13: note: (near initialization for 'aic32x4_div_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:348:3: error: 'const struct clk_ops' has no member named 'unprepare'
  .unprepare = clk_aic32x4_div_unprepare,
   ^~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:348:15: warning: excess elements in struct initializer
  .unprepare = clk_aic32x4_div_unprepare,
               ^~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:348:15: note: (near initialization for 'aic32x4_div_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:349:3: error: 'const struct clk_ops' has no member named 'set_rate'
  .set_rate = clk_aic32x4_div_set_rate,
   ^~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:349:14: warning: excess elements in struct initializer
  .set_rate = clk_aic32x4_div_set_rate,
              ^~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:349:14: note: (near initialization for 'aic32x4_div_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:350:3: error: 'const struct clk_ops' has no member named 'round_rate'
  .round_rate = clk_aic32x4_div_round_rate,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:350:16: warning: excess elements in struct initializer
  .round_rate = clk_aic32x4_div_round_rate,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:350:16: note: (near initialization for 'aic32x4_div_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:351:3: error: 'const struct clk_ops' has no member named 'recalc_rate'
  .recalc_rate = clk_aic32x4_div_recalc_rate,
   ^~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:351:17: warning: excess elements in struct initializer
  .recalc_rate = clk_aic32x4_div_recalc_rate,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:351:17: note: (near initialization for 'aic32x4_div_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:372:21: error: variable 'aic32x4_bdiv_ops' has initializer but incomplete type
 static const struct clk_ops aic32x4_bdiv_ops = {
                     ^~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:373:3: error: 'const struct clk_ops' has no member named 'prepare'
  .prepare = clk_aic32x4_div_prepare,
   ^~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:373:13: warning: excess elements in struct initializer
  .prepare = clk_aic32x4_div_prepare,
             ^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:373:13: note: (near initialization for 'aic32x4_bdiv_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:374:3: error: 'const struct clk_ops' has no member named 'unprepare'
  .unprepare = clk_aic32x4_div_unprepare,
   ^~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:374:15: warning: excess elements in struct initializer
  .unprepare = clk_aic32x4_div_unprepare,
               ^~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:374:15: note: (near initialization for 'aic32x4_bdiv_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:375:3: error: 'const struct clk_ops' has no member named 'set_parent'
  .set_parent = clk_aic32x4_bdiv_set_parent,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:375:16: warning: excess elements in struct initializer
  .set_parent = clk_aic32x4_bdiv_set_parent,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:375:16: note: (near initialization for 'aic32x4_bdiv_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:376:3: error: 'const struct clk_ops' has no member named 'get_parent'
  .get_parent = clk_aic32x4_bdiv_get_parent,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:376:16: warning: excess elements in struct initializer
  .get_parent = clk_aic32x4_bdiv_get_parent,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:376:16: note: (near initialization for 'aic32x4_bdiv_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:377:3: error: 'const struct clk_ops' has no member named 'set_rate'
  .set_rate = clk_aic32x4_div_set_rate,
   ^~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:377:14: warning: excess elements in struct initializer
  .set_rate = clk_aic32x4_div_set_rate,
              ^~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:377:14: note: (near initialization for 'aic32x4_bdiv_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:378:3: error: 'const struct clk_ops' has no member named 'round_rate'
  .round_rate = clk_aic32x4_div_round_rate,
   ^~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:378:16: warning: excess elements in struct initializer
  .round_rate = clk_aic32x4_div_round_rate,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:378:16: note: (near initialization for 'aic32x4_bdiv_ops')
sound/soc/codecs/tlv320aic32x4-clk.c:379:3: error: 'const struct clk_ops' has no member named 'recalc_rate'
  .recalc_rate = clk_aic32x4_div_recalc_rate,
   ^~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:379:17: warning: excess elements in struct initializer
  .recalc_rate = clk_aic32x4_div_recalc_rate,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:379:17: note: (near initialization for 'aic32x4_bdiv_ops')
sound/soc/codecs/tlv320aic32x4-clk.c: In function 'aic32x4_register_clk':
sound/soc/codecs/tlv320aic32x4-clk.c:440:23: error: storage size of 'init' isn't known
  struct clk_init_data init;
                       ^~~~
sound/soc/codecs/tlv320aic32x4-clk.c:460:9: error: implicit declaration of function 'devm_clk_register'; did you mean 'device_register'? [-Werror=implicit-function-declaration]
  return devm_clk_register(dev, &priv->hw);
         ^~~~~~~~~~~~~~~~~
         device_register
sound/soc/codecs/tlv320aic32x4-clk.c:440:23: warning: unused variable 'init' [-Wunused-variable]
  struct clk_init_data init;
                       ^~~~
sound/soc/codecs/tlv320aic32x4-clk.c: At top level:
sound/soc/codecs/tlv320aic32x4-clk.c:257:29: error: storage size of 'aic32x4_pll_ops' isn't known
 static const struct clk_ops aic32x4_pll_ops = {
                             ^~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:287:29: error: storage size of 'aic32x4_codec_clkin_ops' isn't known
 static const struct clk_ops aic32x4_codec_clkin_ops = {
                             ^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:346:29: error: storage size of 'aic32x4_div_ops' isn't known
 static const struct clk_ops aic32x4_div_ops = {
                             ^~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c:372:29: error: storage size of 'aic32x4_bdiv_ops' isn't known
 static const struct clk_ops aic32x4_bdiv_ops = {
                             ^~~~~~~~~~~~~~~~
sound/soc/codecs/tlv320aic32x4-clk.c: In function 'aic32x4_register_clk':
sound/soc/codecs/tlv320aic32x4-clk.c:461:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

Caused by commit

  514b044cba66 ("ASoC: tlv320aic32x4: Model PLL in CCF")

This build has

CONFIG_SND_SOC_TLV320AIC32X4=y
CONFIG_SND_SOC_TLV320AIC32X4_I2C=y
CONFIG_SND_SOC_TLV320AIC32X4_SPI=y

but CONFIG_COMMON_CLK is not set.  I assume tha bove get set due to
"select" statements and we get this warning:

WARNING: unmet direct dependencies detected for SND_SOC_TLV320AIC32X4
  Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && COMMON_CLK [=n]
  Selected by [y]:
  - SND_SOC_TLV320AIC32X4_I2C [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=y]
  - SND_SOC_TLV320AIC32X4_SPI [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y]

I have disabled that driver for now using:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 26 Mar 2019 13:18:03 +1100
Subject: [PATCH] disable the SND_SOC_TLV320AIC32X4 driver for now

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/codecs/Kconfig | 5 +++--
 sound/soc/fsl/Kconfig    | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 6e99320c79b8..c225c81a7aef 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -180,8 +180,6 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_TLV320AIC23_SPI if SPI_MASTER
 	select SND_SOC_TLV320AIC26 if SPI_MASTER
 	select SND_SOC_TLV320AIC31XX if I2C
-	select SND_SOC_TLV320AIC32X4_I2C if I2C
-	select SND_SOC_TLV320AIC32X4_SPI if SPI_MASTER
 	select SND_SOC_TLV320AIC3X if I2C
 	select SND_SOC_TPA6130A2 if I2C
 	select SND_SOC_TLV320DAC33 if I2C
@@ -1105,15 +1103,18 @@ config SND_SOC_TLV320AIC31XX
 
 config SND_SOC_TLV320AIC32X4
 	tristate
+	depends on BROKEN
 	depends on COMMON_CLK
 
 config SND_SOC_TLV320AIC32X4_I2C
 	tristate "Texas Instruments TLV320AIC32x4 audio CODECs - I2C"
+	depends on BROKEN
 	depends on I2C
 	select SND_SOC_TLV320AIC32X4
 
 config SND_SOC_TLV320AIC32X4_SPI
 	tristate "Texas Instruments TLV320AIC32x4 audio CODECs - SPI"
+	depends on BROKEN
 	depends on SPI_MASTER
 	select SND_SOC_TLV320AIC32X4
 
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index 7b1d9970be8b..d7b4f9d4d61d 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -207,6 +207,7 @@ config SND_MXC_SOC_WM1133_EV1
 
 config SND_SOC_MX27VIS_AIC32X4
 	tristate "SoC audio support for Visstrim M10 boards"
+	depends on BROKEN
 	depends on MACH_IMX27_VISSTRIM_M10 && I2C
 	select SND_SOC_TLV320AIC32X4
 	select SND_SOC_IMX_PCM_DMA
-- 
2.20.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-02-08  8:39   ` Takashi Iwai
@ 2019-02-08 12:53     ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2019-02-08 12:53 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Maruthi Srinivas Bayyavarapu

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

On Fri, Feb 08, 2019 at 09:39:39AM +0100, Takashi Iwai wrote:

> > Mark, could you apply it on your tree?

> And I already took back the API change from for-next branch for
> avoiding the bisection breakage.

> > Or let me pull your tree into mine.

> ... so Mark, please send a pull request to me for ASoC merges, so that
> I can apply the API change.

Done.  This sort of thing is why I like having lots of topic branches :/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-02-08  7:37 ` Takashi Iwai
@ 2019-02-08  8:39   ` Takashi Iwai
  2019-02-08 12:53     ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Takashi Iwai @ 2019-02-08  8:39 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Maruthi Srinivas Bayyavarapu

On Fri, 08 Feb 2019 08:37:25 +0100,
Takashi Iwai wrote:
> 
> On Fri, 08 Feb 2019 03:18:23 +0100,
> Stephen Rothwell wrote:
> > 
> > Hi all,
> > 
> > After merging the sound-asoc tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> > 
> > sound/soc/xilinx/xlnx_formatter_pcm.c: In function 'xlnx_formatter_pcm_new':
> > sound/soc/xilinx/xlnx_formatter_pcm.c:539:9: error: void value not ignored as it ought to be
> >   return snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
> >          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     SNDRV_DMA_TYPE_DEV, component->dev,
> >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     xlnx_pcm_hardware.buffer_bytes_max,
> >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     xlnx_pcm_hardware.buffer_bytes_max);
> >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > sound/soc/xilinx/xlnx_formatter_pcm.c:543:1: warning: control reaches end of non-void function [-Wreturn-type]
> >  }
> >  ^
> > 
> > Caused by commit
> > 
> >   6f6c3c36f091 ("ASoC: xlnx: add pcm formatter platform driver")
> > 
> > interacting with commit
> > 
> >   9adb5165f1de ("ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void")
> > 
> > from the sound tree.
> > 
> > I have applied the following merge fix patch for today:
> > 
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Fri, 8 Feb 2019 13:14:24 +1100
> > Subject: [PATCH] Asoc: xlnx: fix up for snd_pcm_lib_preallocate_pages_for_all() API change
> > 
> > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> > ---
> >  sound/soc/xilinx/xlnx_formatter_pcm.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c
> > index 97177d35652e..dc8721f4f56b 100644
> > --- a/sound/soc/xilinx/xlnx_formatter_pcm.c
> > +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c
> > @@ -536,10 +536,11 @@ static int xlnx_formatter_pcm_new(struct snd_soc_pcm_runtime *rtd)
> >  {
> >  	struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd,
> >  								    DRV_NAME);
> > -	return snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
> > +	snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
> >  			SNDRV_DMA_TYPE_DEV, component->dev,
> >  			xlnx_pcm_hardware.buffer_bytes_max,
> >  			xlnx_pcm_hardware.buffer_bytes_max);
> > +	return 0;
> >  }
> >  
> >  static const struct snd_pcm_ops xlnx_formatter_pcm_ops = {
> > -- 
> > 2.20.1
> 
> Thanks Stephen.
> 
> Mark, could you apply it on your tree?

And I already took back the API change from for-next branch for
avoiding the bisection breakage.

> Or let me pull your tree into mine.

... so Mark, please send a pull request to me for ASoC merges, so that
I can apply the API change.


thanks,

Takashi

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2019-02-08  2:18 Stephen Rothwell
@ 2019-02-08  7:37 ` Takashi Iwai
  2019-02-08  8:39   ` Takashi Iwai
  0 siblings, 1 reply; 238+ messages in thread
From: Takashi Iwai @ 2019-02-08  7:37 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Linux Next Mailing List,
	Linux Kernel Mailing List, Maruthi Srinivas Bayyavarapu

On Fri, 08 Feb 2019 03:18:23 +0100,
Stephen Rothwell wrote:
> 
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/xilinx/xlnx_formatter_pcm.c: In function 'xlnx_formatter_pcm_new':
> sound/soc/xilinx/xlnx_formatter_pcm.c:539:9: error: void value not ignored as it ought to be
>   return snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     SNDRV_DMA_TYPE_DEV, component->dev,
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     xlnx_pcm_hardware.buffer_bytes_max,
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     xlnx_pcm_hardware.buffer_bytes_max);
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> sound/soc/xilinx/xlnx_formatter_pcm.c:543:1: warning: control reaches end of non-void function [-Wreturn-type]
>  }
>  ^
> 
> Caused by commit
> 
>   6f6c3c36f091 ("ASoC: xlnx: add pcm formatter platform driver")
> 
> interacting with commit
> 
>   9adb5165f1de ("ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void")
> 
> from the sound tree.
> 
> I have applied the following merge fix patch for today:
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Fri, 8 Feb 2019 13:14:24 +1100
> Subject: [PATCH] Asoc: xlnx: fix up for snd_pcm_lib_preallocate_pages_for_all() API change
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  sound/soc/xilinx/xlnx_formatter_pcm.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c
> index 97177d35652e..dc8721f4f56b 100644
> --- a/sound/soc/xilinx/xlnx_formatter_pcm.c
> +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c
> @@ -536,10 +536,11 @@ static int xlnx_formatter_pcm_new(struct snd_soc_pcm_runtime *rtd)
>  {
>  	struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd,
>  								    DRV_NAME);
> -	return snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
> +	snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
>  			SNDRV_DMA_TYPE_DEV, component->dev,
>  			xlnx_pcm_hardware.buffer_bytes_max,
>  			xlnx_pcm_hardware.buffer_bytes_max);
> +	return 0;
>  }
>  
>  static const struct snd_pcm_ops xlnx_formatter_pcm_ops = {
> -- 
> 2.20.1

Thanks Stephen.

Mark, could you apply it on your tree?
Or let me pull your tree into mine.


Takashi

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2019-02-08  2:18 Stephen Rothwell
  2019-02-08  7:37 ` Takashi Iwai
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2019-02-08  2:18 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, Takashi Iwai
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Maruthi Srinivas Bayyavarapu

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

Hi all,

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

sound/soc/xilinx/xlnx_formatter_pcm.c: In function 'xlnx_formatter_pcm_new':
sound/soc/xilinx/xlnx_formatter_pcm.c:539:9: error: void value not ignored as it ought to be
  return snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SNDRV_DMA_TYPE_DEV, component->dev,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    xlnx_pcm_hardware.buffer_bytes_max,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    xlnx_pcm_hardware.buffer_bytes_max);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/xilinx/xlnx_formatter_pcm.c:543:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

Caused by commit

  6f6c3c36f091 ("ASoC: xlnx: add pcm formatter platform driver")

interacting with commit

  9adb5165f1de ("ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void")

from the sound tree.

I have applied the following merge fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 8 Feb 2019 13:14:24 +1100
Subject: [PATCH] Asoc: xlnx: fix up for snd_pcm_lib_preallocate_pages_for_all() API change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/xilinx/xlnx_formatter_pcm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c
index 97177d35652e..dc8721f4f56b 100644
--- a/sound/soc/xilinx/xlnx_formatter_pcm.c
+++ b/sound/soc/xilinx/xlnx_formatter_pcm.c
@@ -536,10 +536,11 @@ static int xlnx_formatter_pcm_new(struct snd_soc_pcm_runtime *rtd)
 {
 	struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd,
 								    DRV_NAME);
-	return snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
+	snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
 			SNDRV_DMA_TYPE_DEV, component->dev,
 			xlnx_pcm_hardware.buffer_bytes_max,
 			xlnx_pcm_hardware.buffer_bytes_max);
+	return 0;
 }
 
 static const struct snd_pcm_ops xlnx_formatter_pcm_ops = {
-- 
2.20.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-04-17 23:51 Stephen Rothwell
@ 2018-04-18 14:49 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2018-04-18 14:49 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, Linux-Next Mailing List, Linux Kernel Mailing List

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

On Wed, Apr 18, 2018 at 09:51:13AM +1000, Stephen Rothwell wrote:

> Caused by commit

>   81e9b0a07889 ("ASoC: topology: Give more data to clients via callbacks")

> I have used the sound-aoc tree from next-20180416 again today.

Ugh, reverted that and the following commit which depends on it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2018-04-17 23:51 Stephen Rothwell
  2018-04-18 14:49 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2018-04-17 23:51 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

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

Hi all,

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

sound/soc/intel/skylake/skl-topology.c: In function 'skl_fill_sink_instance_id':
sound/soc/intel/skylake/skl-topology.c:833:45: error: 'struct skl_kpb_params' has no member named 'u'
   struct skl_mod_inst_map *inst = kpb_params->u.map;
                                             ^~
sound/soc/intel/skylake/skl-topology.c: In function 'skl_tplg_find_moduleid_from_uuid':
sound/soc/intel/skylake/skl-topology.c:953:17: error: 'struct skl_kpb_params' has no member named 'u'
     &uuid_params->u.map_uuid[i].mod_uuid);
                 ^~
sound/soc/intel/skylake/skl-topology.c:959:10: error: 'struct skl_kpb_params' has no member named 'u'
    params->u.map[i].mod_id = module_id;
          ^~
sound/soc/intel/skylake/skl-topology.c:960:10: error: 'struct skl_kpb_params' has no member named 'u'
    params->u.map[i].inst_id =
          ^~
sound/soc/intel/skylake/skl-topology.c:961:16: error: 'struct skl_kpb_params' has no member named 'u'
     uuid_params->u.map_uuid[i].inst_id;
                ^~
sound/soc/intel/skylake/skl-topology.c: At top level:
sound/soc/intel/skylake/skl-topology.c:3544:5: error: conflicting types for 'skl_tplg_init'
 int skl_tplg_init(struct snd_soc_component *component, struct hdac_ext_bus *ebus)
     ^~~~~~~~~~~~~
In file included from sound/soc/intel/skylake/skl-topology.c:27:0:
sound/soc/intel/skylake/skl-topology.h:463:5: note: previous declaration of 'skl_tplg_init' was here
 int skl_tplg_init(struct snd_soc_platform *platform,
     ^~~~~~~~~~~~~
sound/soc/intel/skylake/skl-pcm.c: In function 'skl_populate_modules':
sound/soc/intel/skylake/skl-pcm.c:1351:4: error: implicit declaration of function 'skl_tplg_add_moduleid_in_bind_params'; did you mean 'skl_tplg_update_pipe_params'? [-Werror=implicit-function-declaration]
    skl_tplg_add_moduleid_in_bind_params(skl, w);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    skl_tplg_update_pipe_params
sound/soc/intel/skylake/skl-pcm.c: In function 'skl_platform_soc_probe':
sound/soc/intel/skylake/skl-pcm.c:1372:23: error: passing argument 1 of 'skl_tplg_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
   ret = skl_tplg_init(component, ebus);
                       ^~~~~~~~~
In file included from sound/soc/intel/skylake/skl-pcm.c:28:0:
sound/soc/intel/skylake/skl-topology.h:463:5: note: expected 'struct snd_soc_platform *' but argument is of type 'struct snd_soc_component *'
 int skl_tplg_init(struct snd_soc_platform *platform,
     ^~~~~~~~~~~~~

Caused by commit

  81e9b0a07889 ("ASoC: topology: Give more data to clients via callbacks")

I have used the sound-aoc tree from next-20180416 again today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2018-04-17  1:22 ` Shuming [范書銘]
@ 2018-04-17  2:14   ` Shuming [范書銘]
  0 siblings, 0 replies; 238+ messages in thread
From: Shuming [范書銘] @ 2018-04-17  2:14 UTC (permalink / raw)
  To: 'Stephen Rothwell', 'Mark Brown',
	'Liam Girdwood'
  Cc: 'Linux-Next Mailing List',
	'Linux Kernel Mailing List',
	Bard Liao

Hi all,

I already sent the patch. 
http://mailman.alsa-project.org/pipermail/alsa-devel/2018-April/134522.html

I apologize for the inconvenience.

Thanks!

Regards,
Shuming Fan


-----Original Message-----
From: Shuming [范書銘] 
Sent: Tuesday, April 17, 2018 9:23 AM
To: 'Stephen Rothwell'; Mark Brown; Liam Girdwood
Cc: Linux-Next Mailing List; Linux Kernel Mailing List
Subject: RE: linux-next: build failure after merge of the sound-asoc tree

Hi all,

I think I miss the header file (#include <linux/acpi.h>) I will fix it ASAP. Sorry about that.

Thanks!

Regards,
Shuming Fan


-----Original Message-----
From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
Sent: Tuesday, April 17, 2018 9:03 AM
To: Mark Brown; Liam Girdwood
Cc: Linux-Next Mailing List; Linux Kernel Mailing List; Shuming [范書銘]
Subject: linux-next: build failure after merge of the sound-asoc tree

Hi all,

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

sound/soc/codecs/rt1305.c:1179:23: error: implicit declaration of function 'ACPI_PTR'; did you mean 'ERR_PTR'? [-Werror=implicit-function-declaration]
   .acpi_match_table = ACPI_PTR(rt1305_acpi_match)
                       ^~~~~~~~
                       ERR_PTR
sound/soc/codecs/rt1305.c:1179:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
sound/soc/codecs/rt1305.c:1179:23: note: (near initialization for 'rt1305_i2c_driver.driver.acpi_match_table')
sound/soc/codecs/rt1305.c:1179:23: error: initializer element is not constant
sound/soc/codecs/rt1305.c:1179:23: note: (near initialization for 'rt1305_i2c_driver.driver.acpi_match_table')

Caused by commit

  29bc643ddd7e ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")

I have used the sound-asoc tree from next-20180416 for today.

--
Cheers,
Stephen Rothwell

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

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2018-04-17  1:02 Stephen Rothwell
@ 2018-04-17  1:22 ` Shuming [范書銘]
  2018-04-17  2:14   ` Shuming [范書銘]
  0 siblings, 1 reply; 238+ messages in thread
From: Shuming [范書銘] @ 2018-04-17  1:22 UTC (permalink / raw)
  To: 'Stephen Rothwell', Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

Hi all,

I think I miss the header file (#include <linux/acpi.h>)
I will fix it ASAP. Sorry about that.

Thanks!

Regards,
Shuming Fan


-----Original Message-----
From: Stephen Rothwell [mailto:sfr@canb.auug.org.au] 
Sent: Tuesday, April 17, 2018 9:03 AM
To: Mark Brown; Liam Girdwood
Cc: Linux-Next Mailing List; Linux Kernel Mailing List; Shuming [范書銘]
Subject: linux-next: build failure after merge of the sound-asoc tree

Hi all,

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

sound/soc/codecs/rt1305.c:1179:23: error: implicit declaration of function 'ACPI_PTR'; did you mean 'ERR_PTR'? [-Werror=implicit-function-declaration]
   .acpi_match_table = ACPI_PTR(rt1305_acpi_match)
                       ^~~~~~~~
                       ERR_PTR
sound/soc/codecs/rt1305.c:1179:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
sound/soc/codecs/rt1305.c:1179:23: note: (near initialization for 'rt1305_i2c_driver.driver.acpi_match_table')
sound/soc/codecs/rt1305.c:1179:23: error: initializer element is not constant
sound/soc/codecs/rt1305.c:1179:23: note: (near initialization for 'rt1305_i2c_driver.driver.acpi_match_table')

Caused by commit

  29bc643ddd7e ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")

I have used the sound-asoc tree from next-20180416 for today.

-- 
Cheers,
Stephen Rothwell

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2018-04-17  1:02 Stephen Rothwell
  2018-04-17  1:22 ` Shuming [范書銘]
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2018-04-17  1:02 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Shuming Fan

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

Hi all,

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

sound/soc/codecs/rt1305.c:1179:23: error: implicit declaration of function 'ACPI_PTR'; did you mean 'ERR_PTR'? [-Werror=implicit-function-declaration]
   .acpi_match_table = ACPI_PTR(rt1305_acpi_match)
                       ^~~~~~~~
                       ERR_PTR
sound/soc/codecs/rt1305.c:1179:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
sound/soc/codecs/rt1305.c:1179:23: note: (near initialization for 'rt1305_i2c_driver.driver.acpi_match_table')
sound/soc/codecs/rt1305.c:1179:23: error: initializer element is not constant
sound/soc/codecs/rt1305.c:1179:23: note: (near initialization for 'rt1305_i2c_driver.driver.acpi_match_table')

Caused by commit

  29bc643ddd7e ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")

I have used the sound-asoc tree from next-20180416 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-03-27 11:27         ` Mark Brown
@ 2018-03-27 12:45           ` Mukunda,Vijendar
  0 siblings, 0 replies; 238+ messages in thread
From: Mukunda,Vijendar @ 2018-03-27 12:45 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List, Akshu Agrawal, Alex Deucher



On Tuesday 27 March 2018 04:57 PM, Mark Brown wrote:
> On Thu, Mar 22, 2018 at 11:24:43AM +0530, Mukunda,Vijendar wrote:
>> On Thursday 22 March 2018 07:08 AM, Mark Brown wrote:
> 
>>> You need to mention dependencies between patches when publishing and I
>>> don't seem to have a copy of that patch, according to the list archives
>>> Alex asked you to make some chnages to it.
> 
>>     Changes suggested by Alex already implemented and posted .
>>     Current patch (https://patchwork.kernel.org/patch/10298281/ ) is
>>     dependent on below patch.
> 
>>     https://patchwork.kernel.org/patch/10296597/
> 
> I'm working offline so these links aren't doing anything useful for me,
> sorry.

submitted fresh patch set which includes dependent patch.
Please ignore this mail thread.
> 
>>     We will publish patch dependencies while sending patches.
> 
> Please.
> 

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-03-22  5:54       ` Mukunda,Vijendar
@ 2018-03-27 11:27         ` Mark Brown
  2018-03-27 12:45           ` Mukunda,Vijendar
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2018-03-27 11:27 UTC (permalink / raw)
  To: Mukunda,Vijendar
  Cc: Stephen Rothwell, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List, Akshu Agrawal, Alex Deucher

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

On Thu, Mar 22, 2018 at 11:24:43AM +0530, Mukunda,Vijendar wrote:
> On Thursday 22 March 2018 07:08 AM, Mark Brown wrote:

> > You need to mention dependencies between patches when publishing and I
> > don't seem to have a copy of that patch, according to the list archives
> > Alex asked you to make some chnages to it.

>    Changes suggested by Alex already implemented and posted .
>    Current patch (https://patchwork.kernel.org/patch/10298281/ ) is
>    dependent on below patch.

>    https://patchwork.kernel.org/patch/10296597/

I'm working offline so these links aren't doing anything useful for me,
sorry.

>    We will publish patch dependencies while sending patches.

Please.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-03-22  1:38     ` Mark Brown
@ 2018-03-22  5:54       ` Mukunda,Vijendar
  2018-03-27 11:27         ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Mukunda,Vijendar @ 2018-03-22  5:54 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List, Akshu Agrawal, Alex Deucher



On Thursday 22 March 2018 07:08 AM, Mark Brown wrote:
> On Wed, Mar 21, 2018 at 11:15:16AM +0530, Mukunda,Vijendar wrote:
>
>> There is a patch dependency .
>> Below patch not merged yet. We submitted for upstream review.
>> [PATCH V2] ASoC: dwc: I2S Controller instance param added
> You need to mention dependencies between patches when publishing and I
> don't seem to have a copy of that patch, according to the list archives
> Alex asked you to make some chnages to it.

    Changes suggested by Alex already implemented and posted .
    Current patch (https://patchwork.kernel.org/patch/10298281/ ) is
    dependent on below patch.

    https://patchwork.kernel.org/patch/10296597/

    We will publish patch dependencies while sending patches.

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-03-21  5:45   ` Mukunda,Vijendar
@ 2018-03-22  1:38     ` Mark Brown
  2018-03-22  5:54       ` Mukunda,Vijendar
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2018-03-22  1:38 UTC (permalink / raw)
  To: Mukunda,Vijendar
  Cc: Stephen Rothwell, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List, Akshu Agrawal, Alex Deucher

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

On Wed, Mar 21, 2018 at 11:15:16AM +0530, Mukunda,Vijendar wrote:

> There is a patch dependency .
> Below patch not merged yet. We submitted for upstream review.
> [PATCH V2] ASoC: dwc: I2S Controller instance param added

You need to mention dependencies between patches when publishing and I
don't seem to have a copy of that patch, according to the list archives
Alex asked you to make some chnages to it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-03-21  2:45 ` Mark Brown
@ 2018-03-21  5:45   ` Mukunda,Vijendar
  2018-03-22  1:38     ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Mukunda,Vijendar @ 2018-03-21  5:45 UTC (permalink / raw)
  To: Mark Brown, Stephen Rothwell
  Cc: Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List, Akshu Agrawal, Alex Deucher



On Wednesday 21 March 2018 08:15 AM, Mark Brown wrote:
> On Wed, Mar 21, 2018 at 01:30:40PM +1100, Stephen Rothwell wrote:
>
>> Caused by commit
>>    363fe37948e2 ("ASoC: amd: dma driver changes for BT I2S controller instance")
>> I have used the sound-asoc tree from next-20180320 for today.
> Dropped.


There is a patch dependency .
Below patch not merged yet. We submitted for upstream review.
[PATCH V2] ASoC: dwc: I2S Controller instance param added

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-03-21  2:30 Stephen Rothwell
@ 2018-03-21  2:45 ` Mark Brown
  2018-03-21  5:45   ` Mukunda,Vijendar
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2018-03-21  2:45 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List, Vijendar Mukunda, Akshu Agrawal,
	Alex Deucher

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

On Wed, Mar 21, 2018 at 01:30:40PM +1100, Stephen Rothwell wrote:

> Caused by commit

>   363fe37948e2 ("ASoC: amd: dma driver changes for BT I2S controller instance")

> I have used the sound-asoc tree from next-20180320 for today.

Dropped.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2018-03-21  2:30 Stephen Rothwell
  2018-03-21  2:45 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2018-03-21  2:30 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Vijendar Mukunda, Akshu Agrawal, Alex Deucher

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

Hi all,

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

sound/soc/amd/acp-pcm-dma.c: In function 'acp_dma_open':
sound/soc/amd/acp-pcm-dma.c:714:35: error: 'struct dw_i2s_dev' has no member named 'i2s_instance'; did you mean 'i2s_base'?
   adata->i2s_play_instance = dev->i2s_instance;
                                   ^~~~~~~~~~~~
                                   i2s_base
sound/soc/amd/acp-pcm-dma.c:715:35: error: 'I2S_SP_INSTANCE' undeclared (first use in this function); did you mean 'SS_ONSTACK'?
   if (adata->i2s_play_instance == I2S_SP_INSTANCE)
                                   ^~~~~~~~~~~~~~~
                                   SS_ONSTACK
sound/soc/amd/acp-pcm-dma.c:715:35: note: each undeclared identifier is reported only once for each function it appears in
sound/soc/amd/acp-pcm-dma.c:717:40: error: 'I2S_BT_INSTANCE' undeclared (first use in this function); did you mean 'I2S_SP_INSTANCE'?
   else if (adata->i2s_play_instance == I2S_BT_INSTANCE)
                                        ^~~~~~~~~~~~~~~
                                        I2S_SP_INSTANCE
sound/soc/amd/acp-pcm-dma.c:722:38: error: 'struct dw_i2s_dev' has no member named 'i2s_instance'; did you mean 'i2s_base'?
   adata->i2s_capture_instance = dev->i2s_instance;
                                      ^~~~~~~~~~~~
                                      i2s_base
sound/soc/amd/acp-pcm-dma.c: In function 'acp_dma_close':
sound/soc/amd/acp-pcm-dma.c:1046:8: error: 'I2S_BT_INSTANCE' undeclared (first use in this function)
   case I2S_BT_INSTANCE:
        ^~~~~~~~~~~~~~~
sound/soc/amd/acp-pcm-dma.c:1049:8: error: 'I2S_SP_INSTANCE' undeclared (first use in this function); did you mean 'I2S_BT_INSTANCE'?
   case I2S_SP_INSTANCE:
        ^~~~~~~~~~~~~~~
        I2S_BT_INSTANCE

Caused by commit

  363fe37948e2 ("ASoC: amd: dma driver changes for BT I2S controller instance")

I have used the sound-asoc tree from next-20180320 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2018-03-13  6:09 Stephen Rothwell
@ 2018-03-13  8:52 ` Adam Thomson
  0 siblings, 0 replies; 238+ messages in thread
From: Adam Thomson @ 2018-03-13  8:52 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Adam Thomson

On 13 March 2018 06:09, Stephen Rothwell wrote:

> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> sound/soc/codecs/da7219.o: In function `.da7219_remove':
> da7219.c:(.text+0xcbc): undefined reference to `.clkdev_drop'
> 
> Caused by commit
> 
>   fc8f7ea2d6c0 ("ASoC: da7219: Add common clock usage for providing DAI clks")
> 
> CONFIG_CLKDEV_LOOKUP is not set for this build.
> 
> I have reverted that commit for today.

My bad. Apologies for this. :(

Mark, I'll send a follow up patch to fix this ASAP.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2018-03-13  6:09 Stephen Rothwell
  2018-03-13  8:52 ` Adam Thomson
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2018-03-13  6:09 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Adam Thomson

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

Hi all,

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

sound/soc/codecs/da7219.o: In function `.da7219_remove':
da7219.c:(.text+0xcbc): undefined reference to `.clkdev_drop'

Caused by commit

  fc8f7ea2d6c0 ("ASoC: da7219: Add common clock usage for providing DAI clks")

CONFIG_CLKDEV_LOOKUP is not set for this build.

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-03-01 23:54 Stephen Rothwell
@ 2018-03-02  2:49 ` John Hsu
  0 siblings, 0 replies; 238+ messages in thread
From: John Hsu @ 2018-03-02  2:49 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List

On 3/2/2018 7:54 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> sound/soc/intel/boards/cht_bsw_nau8824.c: In function 'cht_codec_init':
> sound/soc/intel/boards/cht_bsw_nau8824.c:137:29: error: passing argument 1 of 'nau8824_enable_jack_detect' from incompatible pointer type [-Werror=incompatible-pointer-types]
>   nau8824_enable_jack_detect(codec, jack);
>                              ^~~~~
> In file included from sound/soc/intel/boards/cht_bsw_nau8824.c:31:0:
> sound/soc/intel/boards/../../codecs/nau8824.h:474:5: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
>  int nau8824_enable_jack_detect(struct snd_soc_component *component,
>      ^~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
>   5b00ce63e07f ("ASoC: Intel: add nau8824 sound card")
>
> I have used the sound-asoc tree from next-20180301 for today.
>

The fix patch has submitted. Please check the link as follows:
http://mailman.alsa-project.org/pipermail/alsa-devel/2018-March/132811.html
[alsa-devel] [PATCH] ASoC: Intel: fix argument error in nau8824 machine


===========================================================================================
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2018-03-01 23:54 Stephen Rothwell
  2018-03-02  2:49 ` John Hsu
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2018-03-01 23:54 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, John Hsu

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

Hi all,

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

sound/soc/intel/boards/cht_bsw_nau8824.c: In function 'cht_codec_init':
sound/soc/intel/boards/cht_bsw_nau8824.c:137:29: error: passing argument 1 of 'nau8824_enable_jack_detect' from incompatible pointer type [-Werror=incompatible-pointer-types]
  nau8824_enable_jack_detect(codec, jack);
                             ^~~~~
In file included from sound/soc/intel/boards/cht_bsw_nau8824.c:31:0:
sound/soc/intel/boards/../../codecs/nau8824.h:474:5: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
 int nau8824_enable_jack_detect(struct snd_soc_component *component,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  5b00ce63e07f ("ASoC: Intel: add nau8824 sound card")

I have used the sound-asoc tree from next-20180301 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-02-18 23:32 Stephen Rothwell
  2018-02-19  0:42 ` Kuninori Morimoto
@ 2018-02-19  4:27 ` Agrawal, Akshu
  1 sibling, 0 replies; 238+ messages in thread
From: Agrawal, Akshu @ 2018-02-19  4:27 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Naveen Manohar, Kuninori Morimoto



On 2/19/2018 5:02 AM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/amd/acp-da7219-max98357a.c: In function 'cz_da7219_init':
> sound/soc/amd/acp-da7219-max98357a.c:79:22: error: passing argument 1 of 'da7219_aad_jack_det' from incompatible pointer type [-Werror=incompatible-pointer-types]
>    da7219_aad_jack_det(codec, &cz_jack);
>                        ^~~~~
> In file included from sound/soc/amd/acp-da7219-max98357a.c:38:0:
> sound/soc/amd/../codecs/da7219-aad.h:209:6: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
>   void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
>        ^~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> sound/soc/intel/boards/kbl_da7219_max98357a.c: In function 'kabylake_da7219_codec_init':
> sound/soc/intel/boards/kbl_da7219_max98357a.c:194:22: error: passing argument 1 of 'da7219_aad_jack_det' from incompatible pointer type [-Werror=incompatible-pointer-types]
>    da7219_aad_jack_det(codec, &ctx->kabylake_headset);
>                        ^~~~~
> In file included from sound/soc/intel/boards/kbl_da7219_max98357a.c:23:0:
> sound/soc/intel/boards/../../codecs/da7219-aad.h:209:6: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
>   void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
>        ^~~~~~~~~~~~~~~~~~~
> sound/soc/intel/boards/kbl_da7219_max98357a.c: In function 'kabylake_card_late_probe':
> sound/soc/intel/boards/kbl_da7219_max98357a.c:552:34: error: passing argument 1 of 'hdac_hdmi_jack_port_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
>    return hdac_hdmi_jack_port_init(codec, &card->dapm);
>                                    ^~~~~
> In file included from sound/soc/intel/boards/kbl_da7219_max98357a.c:21:0:
> sound/soc/intel/boards/../../codecs/hdac_hdmi.h:8:5: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
>   int hdac_hdmi_jack_port_init(struct snd_soc_component *component,
>       ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> Caused by commits
> 
>    608a300fc1f0 ("ASoC: AMD: Add machine driver for ST DA7219 MAX98357")
>    b3ea70ee64ea ("ASoC: Intel: Add Kabylake-y Dialog Maxim machine driver")
> 
> interacting with commit
> 
>    451011221711 ("ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component")
> 
> I have used the sound-asoc tree from next-20180216 for today.
> 

Thanks Kuninori for updating the patches with fixes for the above failure.
https://patchwork.kernel.org/patch/10227101/
https://patchwork.kernel.org/patch/10227099/

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-02-18 23:32 Stephen Rothwell
@ 2018-02-19  0:42 ` Kuninori Morimoto
  2018-02-19  4:27 ` Agrawal, Akshu
  1 sibling, 0 replies; 238+ messages in thread
From: Kuninori Morimoto @ 2018-02-19  0:42 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List, Akshu Agrawal, Naveen Manohar


Hi Stephen

Thank you for your report.
It seems added new drivers are not based on new framework.
I will post fixup patch for these.

> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/amd/acp-da7219-max98357a.c: In function 'cz_da7219_init':
> sound/soc/amd/acp-da7219-max98357a.c:79:22: error: passing argument 1 of 'da7219_aad_jack_det' from incompatible pointer type [-Werror=incompatible-pointer-types]
>   da7219_aad_jack_det(codec, &cz_jack);
>                       ^~~~~
> In file included from sound/soc/amd/acp-da7219-max98357a.c:38:0:
> sound/soc/amd/../codecs/da7219-aad.h:209:6: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
>  void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
>       ^~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> sound/soc/intel/boards/kbl_da7219_max98357a.c: In function 'kabylake_da7219_codec_init':
> sound/soc/intel/boards/kbl_da7219_max98357a.c:194:22: error: passing argument 1 of 'da7219_aad_jack_det' from incompatible pointer type [-Werror=incompatible-pointer-types]
>   da7219_aad_jack_det(codec, &ctx->kabylake_headset);
>                       ^~~~~
> In file included from sound/soc/intel/boards/kbl_da7219_max98357a.c:23:0:
> sound/soc/intel/boards/../../codecs/da7219-aad.h:209:6: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
>  void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
>       ^~~~~~~~~~~~~~~~~~~
> sound/soc/intel/boards/kbl_da7219_max98357a.c: In function 'kabylake_card_late_probe':
> sound/soc/intel/boards/kbl_da7219_max98357a.c:552:34: error: passing argument 1 of 'hdac_hdmi_jack_port_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
>   return hdac_hdmi_jack_port_init(codec, &card->dapm);
>                                   ^~~~~
> In file included from sound/soc/intel/boards/kbl_da7219_max98357a.c:21:0:
> sound/soc/intel/boards/../../codecs/hdac_hdmi.h:8:5: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
>  int hdac_hdmi_jack_port_init(struct snd_soc_component *component,
>      ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> Caused by commits
> 
>   608a300fc1f0 ("ASoC: AMD: Add machine driver for ST DA7219 MAX98357")
>   b3ea70ee64ea ("ASoC: Intel: Add Kabylake-y Dialog Maxim machine driver")
> 
> interacting with commit
> 
>   451011221711 ("ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component")
> 
> I have used the sound-asoc tree from next-20180216 for today.
> 
> -- 
> Cheers,
> Stephen Rothwell
> [2 OpenPGP digital signature <application/pgp-signature (7bit)>]
> No public key for 015042F34957D06C created at 2018-02-19T08:32:45+0900 using RSA

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2018-02-18 23:32 Stephen Rothwell
  2018-02-19  0:42 ` Kuninori Morimoto
  2018-02-19  4:27 ` Agrawal, Akshu
  0 siblings, 2 replies; 238+ messages in thread
From: Stephen Rothwell @ 2018-02-18 23:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Akshu Agrawal, Naveen Manohar, Kuninori Morimoto

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

Hi all,

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

sound/soc/amd/acp-da7219-max98357a.c: In function 'cz_da7219_init':
sound/soc/amd/acp-da7219-max98357a.c:79:22: error: passing argument 1 of 'da7219_aad_jack_det' from incompatible pointer type [-Werror=incompatible-pointer-types]
  da7219_aad_jack_det(codec, &cz_jack);
                      ^~~~~
In file included from sound/soc/amd/acp-da7219-max98357a.c:38:0:
sound/soc/amd/../codecs/da7219-aad.h:209:6: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
      ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
sound/soc/intel/boards/kbl_da7219_max98357a.c: In function 'kabylake_da7219_codec_init':
sound/soc/intel/boards/kbl_da7219_max98357a.c:194:22: error: passing argument 1 of 'da7219_aad_jack_det' from incompatible pointer type [-Werror=incompatible-pointer-types]
  da7219_aad_jack_det(codec, &ctx->kabylake_headset);
                      ^~~~~
In file included from sound/soc/intel/boards/kbl_da7219_max98357a.c:23:0:
sound/soc/intel/boards/../../codecs/da7219-aad.h:209:6: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
      ^~~~~~~~~~~~~~~~~~~
sound/soc/intel/boards/kbl_da7219_max98357a.c: In function 'kabylake_card_late_probe':
sound/soc/intel/boards/kbl_da7219_max98357a.c:552:34: error: passing argument 1 of 'hdac_hdmi_jack_port_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
  return hdac_hdmi_jack_port_init(codec, &card->dapm);
                                  ^~~~~
In file included from sound/soc/intel/boards/kbl_da7219_max98357a.c:21:0:
sound/soc/intel/boards/../../codecs/hdac_hdmi.h:8:5: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
 int hdac_hdmi_jack_port_init(struct snd_soc_component *component,
     ^~~~~~~~~~~~~~~~~~~~~~~~

Caused by commits

  608a300fc1f0 ("ASoC: AMD: Add machine driver for ST DA7219 MAX98357")
  b3ea70ee64ea ("ASoC: Intel: Add Kabylake-y Dialog Maxim machine driver")

interacting with commit

  451011221711 ("ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component")

I have used the sound-asoc tree from next-20180216 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-02-15 15:33   ` Mark Brown
@ 2018-02-16  0:01     ` Kuninori Morimoto
  0 siblings, 0 replies; 238+ messages in thread
From: Kuninori Morimoto @ 2018-02-16  0:01 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List


Hi Mark

> > Thank you for reporting.
> > It is my fault, this patch might cause other issue.
> > I'm asking to Mark to remove it from his branch.
> 
> Dropped.

Thank you !

Best regards
---
Kuninori Morimoto

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-02-15  2:49 ` Kuninori Morimoto
@ 2018-02-15 15:33   ` Mark Brown
  2018-02-16  0:01     ` Kuninori Morimoto
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2018-02-15 15:33 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Stephen Rothwell, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List

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

On Thu, Feb 15, 2018 at 02:49:44AM +0000, Kuninori Morimoto wrote:
> 
> Hi Stephen
> 
> Thank you for reporting.
> It is my fault, this patch might cause other issue.
> I'm asking to Mark to remove it from his branch.

Dropped.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2018-02-15  0:35 Stephen Rothwell
@ 2018-02-15  2:49 ` Kuninori Morimoto
  2018-02-15 15:33   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Kuninori Morimoto @ 2018-02-15  2:49 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List


Hi Stephen

Thank you for reporting.
It is my fault, this patch might cause other issue.
I'm asking to Mark to remove it from his branch.

> After merging the sound-asoc tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> /home/sfr/next/next/sound/soc/soc-core.c: In function 'snd_soc_register_codec':
> /home/sfr/next/next/sound/soc/soc-core.c:3818:8: error: too many arguments to function 'snd_soc_register_dais'
>   ret = snd_soc_register_dais(&codec->component, dai_drv, num_dai, false);
>         ^~~~~~~~~~~~~~~~~~~~~
> /home/sfr/next/next/sound/soc/soc-core.c:3114:12: note: declared here
>  static int snd_soc_register_dais(struct snd_soc_component *component,
>             ^~~~~~~~~~~~~~~~~~~~~   
> 
> Caused by commit
> 
>   a8768c52c511 ("ASoC: soc-core: remove legacy_dai_naming from snd_soc_register_dais()")
> 
> I have used the sound-asoc tree from next-20180214 for today.
> 
> -- 
> Cheers,
> Stephen Rothwell

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2018-02-15  0:35 Stephen Rothwell
  2018-02-15  2:49 ` Kuninori Morimoto
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2018-02-15  0:35 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Kuninori Morimoto

Hi all,

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

/home/sfr/next/next/sound/soc/soc-core.c: In function 'snd_soc_register_codec':
/home/sfr/next/next/sound/soc/soc-core.c:3818:8: error: too many arguments to function 'snd_soc_register_dais'
  ret = snd_soc_register_dais(&codec->component, dai_drv, num_dai, false);
        ^~~~~~~~~~~~~~~~~~~~~
/home/sfr/next/next/sound/soc/soc-core.c:3114:12: note: declared here
 static int snd_soc_register_dais(struct snd_soc_component *component,
            ^~~~~~~~~~~~~~~~~~~~~   

Caused by commit

  a8768c52c511 ("ASoC: soc-core: remove legacy_dai_naming from snd_soc_register_dais()")

I have used the sound-asoc tree from next-20180214 for today.

-- 
Cheers,
Stephen Rothwell

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2017-11-29  0:50 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2017-11-29  0:50 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Kuninori Morimoto

Hi all,

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

ERROR: "snd_soc_disconnect_sync" [sound/soc/sh/rcar/snd-soc-rcar.ko] undefined!

Caused by commit

  180d9ef58104 ("ASoC: rsnd: call snd_soc_disconnect_sync() when remove")

I have used the sound-asco tree from next-20171128 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2017-09-20 11:54 ` robert.jarzmik
@ 2017-09-20 11:56   ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2017-09-20 11:56 UTC (permalink / raw)
  To: robert.jarzmik
  Cc: Stephen Rothwell, Linux-Next Mailing List,
	Linux Kernel Mailing List, Liam Girdwood

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

On Wed, Sep 20, 2017 at 01:54:47PM +0200, robert.jarzmik@free.fr wrote:

> I will resend an incremental version of this patch alone Mark this evening if that
> suits you, with the bracket missing in wm9712.c:661 added.

I fixed this already.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2017-09-20  2:01 Stephen Rothwell
@ 2017-09-20 11:54 ` robert.jarzmik
  2017-09-20 11:56   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: robert.jarzmik @ 2017-09-20 11:54 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Liam Girdwood

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

Hi Stephen and Mark,

This is my mess. And today my mailer is not my usual one, please don't blame me
for its probably awfull rendering.

Somehow, in my last serie, in wm9712_soc_probe(), a closing bracket has disappeared.
This affects only wm9712.c, not the others, ie. the commit :
 - 2ed1a8e "ASoC: wm9712: add ac97 new bus support"

I will resend an incremental version of this patch alone Mark this evening if that
suits you, with the bracket missing in wm9712.c:661 added.

Cheers.

--
Robert

[1] The diff, scrambled probably by my mailer, will look like the attached piece.
    My mailer refuses to add a TAB so I cannot inline it with a scissor.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: wm9712.diff --]
[-- Type: text/x-patch; name=wm9712.diff, Size: 339 bytes --]

diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index 1e228bf..9db5c77 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -658,6 +658,7 @@ static int wm9712_soc_probe(struct snd_soc_codec *codec)
 		if (IS_ERR(regmap)) {
 			ret = PTR_ERR(regmap);
 			goto err_free_ac97_codec;
+		}
 #endif
 	}
 

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2017-09-20  2:01 Stephen Rothwell
  2017-09-20 11:54 ` robert.jarzmik
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2017-09-20  2:01 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Robert Jarzmik

Hi all,

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

sound/soc/codecs/wm9712.c: In function 'wm9712_soc_probe':
sound/soc/codecs/wm9712.c:675:12: error: invalid storage class for function 'wm9712_soc_remove'
 static int wm9712_soc_remove(struct snd_soc_codec *codec)
            ^
sound/soc/codecs/wm9712.c:675:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 static int wm9712_soc_remove(struct snd_soc_codec *codec)
 ^
sound/soc/codecs/wm9712.c:690:13: error: initializer element is not constant
  .remove =  wm9712_soc_remove,
             ^
sound/soc/codecs/wm9712.c:690:13: note: (near initialization for 'soc_codec_dev_wm9712.remove')
sound/soc/codecs/wm9712.c:705:12: error: invalid storage class for function 'wm9712_probe'
 static int wm9712_probe(struct platform_device *pdev)
            ^
sound/soc/codecs/wm9712.c:722:12: error: invalid storage class for function 'wm9712_remove'
 static int wm9712_remove(struct platform_device *pdev)
            ^
sound/soc/codecs/wm9712.c:733:11: error: initializer element is not constant
  .probe = wm9712_probe,
           ^
sound/soc/codecs/wm9712.c:733:11: note: (near initialization for 'wm9712_codec_driver.probe')
sound/soc/codecs/wm9712.c:734:12: error: initializer element is not constant
  .remove = wm9712_remove,
            ^
sound/soc/codecs/wm9712.c:734:12: note: (near initialization for 'wm9712_codec_driver.remove')
In file included from sound/soc/codecs/wm9712.c:18:0:
sound/soc/codecs/wm9712.c:737:24: error: invalid storage class for function 'wm9712_codec_driver_init'
 module_platform_driver(wm9712_codec_driver);
                        ^
include/linux/device.h:1500:19: note: in definition of macro 'module_driver'
 static int __init __driver##_init(void) \
                   ^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
 module_platform_driver(wm9712_codec_driver);
 ^
In file included from sound/soc/codecs/wm9712.c:16:0:
include/linux/module.h:129:42: error: invalid storage class for function '__inittest'
  static inline initcall_t __maybe_unused __inittest(void)  \
                                          ^
include/linux/device.h:1504:1: note: in expansion of macro 'module_init'
 module_init(__driver##_init); \
 ^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
  module_driver(__platform_driver, platform_driver_register, \
  ^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
 module_platform_driver(wm9712_codec_driver);
 ^
sound/soc/codecs/wm9712.c:737:1: warning: 'alias' attribute ignored [-Wattributes]
In file included from sound/soc/codecs/wm9712.c:18:0:
sound/soc/codecs/wm9712.c:737:24: error: invalid storage class for function 'wm9712_codec_driver_exit'
 module_platform_driver(wm9712_codec_driver);
                        ^
include/linux/device.h:1505:20: note: in definition of macro 'module_driver'
 static void __exit __driver##_exit(void) \
                    ^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
 module_platform_driver(wm9712_codec_driver);
 ^
include/linux/device.h:1505:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 static void __exit __driver##_exit(void) \
 ^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
  module_driver(__platform_driver, platform_driver_register, \
  ^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
 module_platform_driver(wm9712_codec_driver);
 ^
In file included from sound/soc/codecs/wm9712.c:16:0:
include/linux/module.h:135:42: error: invalid storage class for function '__exittest'
  static inline exitcall_t __maybe_unused __exittest(void)  \
                                          ^
include/linux/device.h:1509:1: note: in expansion of macro 'module_exit'
 module_exit(__driver##_exit);
 ^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
  module_driver(__platform_driver, platform_driver_register, \
  ^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
 module_platform_driver(wm9712_codec_driver);
 ^
sound/soc/codecs/wm9712.c:737:1: warning: 'alias' attribute ignored [-Wattributes]
In file included from include/linux/module.h:18:0,
                 from sound/soc/codecs/wm9712.c:16:
include/linux/moduleparam.h:21:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 static const char __UNIQUE_ID(name)[]       \
 ^
include/linux/module.h:160:32: note: in expansion of macro '__MODULE_INFO'
 #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info)
                                ^
include/linux/module.h:207:42: note: in expansion of macro 'MODULE_INFO'
 #define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description)
                                          ^
sound/soc/codecs/wm9712.c:739:1: note: in expansion of macro 'MODULE_DESCRIPTION'
 MODULE_DESCRIPTION("ASoC WM9711/WM9712 driver");
 ^
sound/soc/codecs/wm9712.c:741:1: error: expected declaration or statement at end of input
 MODULE_LICENSE("GPL");
 ^
sound/soc/codecs/wm9712.c: At top level:
sound/soc/codecs/wm9712.c:637:12: warning: 'wm9712_soc_probe' defined but not used [-Wunused-function]
 static int wm9712_soc_probe(struct snd_soc_codec *codec)
            ^

Caused by commit

  2ed1a8e0ce8d ("ASoC: wm9712: add ac97 new bus support")

I have used the sound-asoc tree from next-20170919 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
@ 2017-08-25  7:58 Hsin-yu Chao
  0 siblings, 0 replies; 238+ messages in thread
From: Hsin-yu Chao @ 2017-08-25  7:58 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List

Sorry for the trouble.
Looks like these rt5514_spi_* functions should be guarded by #if
IS_ENABLED(CONFIG_SND_SOC_RT5514_SPI)
I'll resend the patch to address this.

Thanks,
Hsin-yu

On Fri, Aug 25, 2017 at 3:41 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> sound/soc/codecs/rt5514.c: In function 'rt5514_dsp_voice_wake_up_put':
> sound/soc/codecs/rt5514.c:343:11: error: implicit declaration of function 'rt5514_spi_burst_write' [-Werror=implicit-function-declaration]
>      ret = rt5514_spi_burst_write(0x4ff80000,
>            ^
>
> Caused by commit
>
>   d18420b0a0b8 ("ASoC: rt5514: expose Hotword Model control")
>
> I have reverted that commit for today.
>
> --
> Cheers,
> Stephen Rothwell

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2017-08-25  7:41 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2017-08-25  7:41 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Hsin-Yu Chao

Hi all,

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

sound/soc/codecs/rt5514.c: In function 'rt5514_dsp_voice_wake_up_put':
sound/soc/codecs/rt5514.c:343:11: error: implicit declaration of function 'rt5514_spi_burst_write' [-Werror=implicit-function-declaration]
     ret = rt5514_spi_burst_write(0x4ff80000,
           ^

Caused by commit

  d18420b0a0b8 ("ASoC: rt5514: expose Hotword Model control")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2017-06-30  1:51   ` Stephen Rothwell
@ 2017-07-03  3:21     ` Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2017-07-03  3:21 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Bard Liao, Linux-Next Mailing List, Linux Kernel Mailing List

Hi all,

On Fri, 30 Jun 2017 11:51:35 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Thu, 29 Jun 2017 02:01:16 +0000 Bard Liao <bardliao@realtek.com> wrote:
> >  
> > > -----Original Message-----
> > > From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
> > > Sent: Thursday, June 29, 2017 9:54 AM
> > > To: Mark Brown; Liam Girdwood
> > > Cc: Linux-Next Mailing List; Linux Kernel Mailing List; Bard Liao
> > > Subject: linux-next: build failure after merge of the sound-asoc tree
> > > 
> > > 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 'rt5670_set_codec_sysclk':
> > > sound/soc/codecs/rt5670.c:2448:57: error: 'codec' undeclared (first use in this
> > > function)
> > >   struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
> > >                                                          ^
> > > sound/soc/codecs/rt5670.c:2448:57: note: each undeclared identifier is
> > > reported only once for each function it appears in
> > > sound/soc/codecs/rt5670.c: At top level:
> > > sound/soc/codecs/rt5670.c:2775:16: error: initialization from incompatible
> > > pointer type [-Werror=incompatible-pointer-types]
> > >   .set_sysclk = rt5670_set_codec_sysclk,
> > >                 ^
> > > sound/soc/codecs/rt5670.c:2775:16: note: (near initialization for
> > > 'soc_codec_dev_rt5670.set_sysclk')
> > > cc1: some warnings being treated as errors
> > > 
> > > Caused by commit
> > > 
> > >   6c28ce3c425e ("ASoC: rt5670: move set_sysclk to codec level")
> > > 
> > > I have used the sound-asoc tree from next-20170628 for today.    
> > 
> > Sorry about that. I just sent a patch to fix it. Please check the attached.  
> 
> I have applied your patch (attached) for today.
> 
> Mark, Liam, please apply.
> 
> Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>

Ping?

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2017-06-29  2:01 ` Bard Liao
@ 2017-06-30  1:51   ` Stephen Rothwell
  2017-07-03  3:21     ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2017-06-30  1:51 UTC (permalink / raw)
  To: Bard Liao
  Cc: Mark Brown, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List

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

Hi Bard,

On Thu, 29 Jun 2017 02:01:16 +0000 Bard Liao <bardliao@realtek.com> wrote:
>
> > -----Original Message-----
> > From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
> > Sent: Thursday, June 29, 2017 9:54 AM
> > To: Mark Brown; Liam Girdwood
> > Cc: Linux-Next Mailing List; Linux Kernel Mailing List; Bard Liao
> > Subject: linux-next: build failure after merge of the sound-asoc tree
> > 
> > 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 'rt5670_set_codec_sysclk':
> > sound/soc/codecs/rt5670.c:2448:57: error: 'codec' undeclared (first use in this
> > function)
> >   struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
> >                                                          ^
> > sound/soc/codecs/rt5670.c:2448:57: note: each undeclared identifier is
> > reported only once for each function it appears in
> > sound/soc/codecs/rt5670.c: At top level:
> > sound/soc/codecs/rt5670.c:2775:16: error: initialization from incompatible
> > pointer type [-Werror=incompatible-pointer-types]
> >   .set_sysclk = rt5670_set_codec_sysclk,
> >                 ^
> > sound/soc/codecs/rt5670.c:2775:16: note: (near initialization for
> > 'soc_codec_dev_rt5670.set_sysclk')
> > cc1: some warnings being treated as errors
> > 
> > Caused by commit
> > 
> >   6c28ce3c425e ("ASoC: rt5670: move set_sysclk to codec level")
> > 
> > I have used the sound-asoc tree from next-20170628 for today.  
> 
> Sorry about that. I just sent a patch to fix it. Please check the attached.

I have applied your patch (attached) for today.

Mark, Liam, please apply.

Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: 0001-ASoC-rt5670-fix-incompatible-pointer-type-of-set_sys.patch --]
[-- Type: text/x-patch, Size: 1019 bytes --]

>From edd2464c74be57ee7b5f5d08b539a0de0b3ecfc8 Mon Sep 17 00:00:00 2001
From: Bard Liao <bardliao@realtek.com>
Date: Thu, 29 Jun 2017 09:37:24 +0800
Subject: [PATCH] ASoC: rt5670: fix incompatible pointer type of set_sysclk

The first parameter is codec not dai.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
Sorry for missing it in the "move set_sysclk to codec level" patch
---
 sound/soc/codecs/rt5670.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 7fa63ad..64756dc 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -2442,7 +2442,7 @@ static int rt5670_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 	return 0;
 }
 
-static int rt5670_set_codec_sysclk(struct snd_soc_dai *dai, int clk_id,
+static int rt5670_set_codec_sysclk(struct snd_soc_codec *codec, int clk_id,
 				   int source, unsigned int freq, int dir)
 {
 	struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
-- 
2.7.4


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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2017-06-29  1:54 Stephen Rothwell
@ 2017-06-29  2:01 ` Bard Liao
  2017-06-30  1:51   ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Bard Liao @ 2017-06-29  2:01 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

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

> -----Original Message-----
> From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
> Sent: Thursday, June 29, 2017 9:54 AM
> To: Mark Brown; Liam Girdwood
> Cc: Linux-Next Mailing List; Linux Kernel Mailing List; Bard Liao
> Subject: linux-next: build failure after merge of the sound-asoc tree
> 
> 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 'rt5670_set_codec_sysclk':
> sound/soc/codecs/rt5670.c:2448:57: error: 'codec' undeclared (first use in this
> function)
>   struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
>                                                          ^
> sound/soc/codecs/rt5670.c:2448:57: note: each undeclared identifier is
> reported only once for each function it appears in
> sound/soc/codecs/rt5670.c: At top level:
> sound/soc/codecs/rt5670.c:2775:16: error: initialization from incompatible
> pointer type [-Werror=incompatible-pointer-types]
>   .set_sysclk = rt5670_set_codec_sysclk,
>                 ^
> sound/soc/codecs/rt5670.c:2775:16: note: (near initialization for
> 'soc_codec_dev_rt5670.set_sysclk')
> cc1: some warnings being treated as errors
> 
> Caused by commit
> 
>   6c28ce3c425e ("ASoC: rt5670: move set_sysclk to codec level")
> 
> I have used the sound-asoc tree from next-20170628 for today.

Sorry about that. I just sent a patch to fix it. Please check the attached.

> 
> --
> Cheers,
> Stephen Rothwell
> 
> ------Please consider the environment before printing this e-mail.

[-- Attachment #2: 0001-ASoC-rt5670-fix-incompatible-pointer-type-of-set_sys.patch --]
[-- Type: application/octet-stream, Size: 1018 bytes --]

From edd2464c74be57ee7b5f5d08b539a0de0b3ecfc8 Mon Sep 17 00:00:00 2001
From: Bard Liao <bardliao@realtek.com>
Date: Thu, 29 Jun 2017 09:37:24 +0800
Subject: [PATCH] ASoC: rt5670: fix incompatible pointer type of set_sysclk

The first parameter is codec not dai.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
Sorry for missing it in the "move set_sysclk to codec level" patch
---
 sound/soc/codecs/rt5670.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 7fa63ad..64756dc 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -2442,7 +2442,7 @@ static int rt5670_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 	return 0;
 }
 
-static int rt5670_set_codec_sysclk(struct snd_soc_dai *dai, int clk_id,
+static int rt5670_set_codec_sysclk(struct snd_soc_codec *codec, int clk_id,
 				   int source, unsigned int freq, int dir)
 {
 	struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
-- 
2.7.4


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

* linux-next: build failure after merge of the sound-asoc tree
@ 2017-06-29  1:54 Stephen Rothwell
  2017-06-29  2:01 ` Bard Liao
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2017-06-29  1:54 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Bard Liao

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 'rt5670_set_codec_sysclk':
sound/soc/codecs/rt5670.c:2448:57: error: 'codec' undeclared (first use in this function)
  struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
                                                         ^
sound/soc/codecs/rt5670.c:2448:57: note: each undeclared identifier is reported only once for each function it appears in
sound/soc/codecs/rt5670.c: At top level:
sound/soc/codecs/rt5670.c:2775:16: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .set_sysclk = rt5670_set_codec_sysclk,
                ^
sound/soc/codecs/rt5670.c:2775:16: note: (near initialization for 'soc_codec_dev_rt5670.set_sysclk')
cc1: some warnings being treated as errors

Caused by commit

  6c28ce3c425e ("ASoC: rt5670: move set_sysclk to codec level")

I have used the sound-asoc tree from next-20170628 for today.

-- 
Cheers,
Stephen Rothwell

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2017-06-16  2:04 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2017-06-16  2:04 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Christophe Jaillet

Hi all,

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

sound/soc/rockchip/rockchip_i2s.c: In function 'rockchip_i2s_probe':
sound/soc/rockchip/rockchip_i2s.c:649:3: error: 'err' undeclared (first use in this function)
   err = -ENOMEM;
   ^

Caused by commit

  c3a3d3c41b74 ("ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'")

I have used the sound-asoc tree from next-20170615 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2017-06-14  1:26 Stephen Rothwell
@ 2017-06-14  2:22 ` Kuninori Morimoto
  0 siblings, 0 replies; 238+ messages in thread
From: Kuninori Morimoto @ 2017-06-14  2:22 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, Linux-Next Mailing List,
	Linux Kernel Mailing List


Hi Stephen

> After merging the sound-asoc tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> ERROR: "asoc_simple_card_clk_enable" [sound/soc/generic/snd-soc-simple-card.ko] undefined!
> ERROR: "asoc_simple_card_clk_disable" [sound/soc/generic/snd-soc-simple-card.ko] undefined!
> 
> Caused by commit
> 
>   bb24a3ba3f52 ("ASoC: simple-scu-card: use asoc_simple_card_clk_xxx()")
> 
> These symbols are not exported to modules.
> 
> I have used the sound-asoc tree from next-20170613 for today.

Thanks.
I posted this fixup patch few hours ago

To: Mark Brown <broonie@kernel.org>
Subject: [PATCH] ASoC: simple_card_utils: add EXPORT_SYMBOL_GPL() for asoc_simple_card_clk_xxx()
CC: Linux-ALSA <alsa-devel@alsa-project.org>, Simon <horms@verge.net.au>, <linux-renesas-soc@vger.kernel.org>
Date: Wed, 14 Jun 2017 01:04:11 +0000


Best regards
---
Kuninori Morimoto

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2017-06-14  1:26 Stephen Rothwell
  2017-06-14  2:22 ` Kuninori Morimoto
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2017-06-14  1:26 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Kuninori Morimoto

Hi all,

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

ERROR: "asoc_simple_card_clk_enable" [sound/soc/generic/snd-soc-simple-card.ko] undefined!
ERROR: "asoc_simple_card_clk_disable" [sound/soc/generic/snd-soc-simple-card.ko] undefined!

Caused by commit

  bb24a3ba3f52 ("ASoC: simple-scu-card: use asoc_simple_card_clk_xxx()")

These symbols are not exported to modules.

I have used the sound-asoc tree from next-20170613 for today.

-- 
Cheers,
Stephen Rothwell

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2017-06-08  3:37 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2017-06-08  3:37 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

Hi all,

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

sound/soc/soc-topology.c: In function 'soc_tplg_widget_ready':
sound/soc/soc-topology.c:352:42: error: 'struct snd_soc_tplg_ops' has no member named 'widget_ready'
  if (tplg->comp && tplg->ops && tplg->ops->widget_ready)
                                          ^
sound/soc/soc-topology.c:353:19: error: 'struct snd_soc_tplg_ops' has no member named 'widget_ready'
   return tplg->ops->widget_ready(tplg->comp, w, tplg_w);
                   ^
sound/soc/soc-topology.c: In function 'soc_tplg_dai_load':
sound/soc/soc-topology.c:364:10: error: too many arguments to function 'tplg->ops->dai_load'
   return tplg->ops->dai_load(tplg->comp, dai_drv, pcm, dai);
          ^
sound/soc/soc-topology.c: In function 'soc_tplg_dai_create':
sound/soc/soc-topology.c:1722:8: error: too few arguments to function 'soc_tplg_dai_load'
  ret = soc_tplg_dai_load(tplg, dai_drv);
        ^
sound/soc/soc-topology.c:359:12: note: declared here
 static int soc_tplg_dai_load(struct soc_tplg *tplg,
            ^
sound/soc/soc-topology.c: In function 'soc_tplg_dai_config':
sound/soc/soc-topology.c:2205:8: error: too few arguments to function 'soc_tplg_dai_load'
  ret = soc_tplg_dai_load(tplg, dai_drv);
        ^
sound/soc/soc-topology.c:359:12: note: declared here
 static int soc_tplg_dai_load(struct soc_tplg *tplg,
            ^

Caused by commit

  c8597af855f3 ("ASoC: topology: Allow bespoke configuration post widget creation")

Forgotten commit of an include file update?

I have used the sound-asoc tree from next-20170607 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-12-06 12:55     ` Lee Jones
@ 2016-12-06 13:22       ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2016-12-06 13:22 UTC (permalink / raw)
  To: Lee Jones
  Cc: Kuninori Morimoto, Stephen Rothwell, Liam Girdwood, linux-next,
	linux-kernel

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

On Tue, Dec 06, 2016 at 12:55:38PM +0000, Lee Jones wrote:
> On Tue, 06 Dec 2016, Mark Brown wrote:
> > On Tue, Dec 06, 2016 at 12:41:15AM +0000, Kuninori Morimoto wrote:

> > > 	8ca9edc837932469b81b8b47ea43a074b6add970
> > > 	("mfd: davinci_voicecodec: Tidyup header difinitions")

> > Reverted.  Lee, there is actually a dependency here...

> No idea what you're talking about.

You were saying there were no dependencies for the ASoC bit of
Morimoto-san's cq9vc series.

> Are you going to allude to the patch you reverted?

The one Stephen identified.

> I assume you wish for me to pick it up?

Or if you could send me a pull request for the MFD bits.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-12-06  9:37   ` Mark Brown
@ 2016-12-06 12:55     ` Lee Jones
  2016-12-06 13:22       ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Lee Jones @ 2016-12-06 12:55 UTC (permalink / raw)
  To: Mark Brown
  Cc: Kuninori Morimoto, Stephen Rothwell, Liam Girdwood, linux-next,
	linux-kernel

On Tue, 06 Dec 2016, Mark Brown wrote:

> On Tue, Dec 06, 2016 at 12:41:15AM +0000, Kuninori Morimoto wrote:
> > > In file included from sound/soc/codecs/cq93vc.c:32:0:
> > > include/linux/mfd/davinci_voicecodec.h:31:27: fatal error: mach/hardware.h: No such file or directory
> > > 
> 
> > As I indicated on cover letter, this patch is based on
> 
> > 	git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git :: for-mfd-next
> 
> > 	Especially this commit
> 
> > 	8ca9edc837932469b81b8b47ea43a074b6add970
> > 	("mfd: davinci_voicecodec: Tidyup header difinitions")
> 
> Reverted.  Lee, there is actually a dependency here...

No idea what you're talking about.

Are you going to allude to the patch you reverted?

I assume you wish for me to pick it up?

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-12-06  0:41 ` Kuninori Morimoto
@ 2016-12-06  9:37   ` Mark Brown
  2016-12-06 12:55     ` Lee Jones
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2016-12-06  9:37 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel, lee.jones

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

On Tue, Dec 06, 2016 at 12:41:15AM +0000, Kuninori Morimoto wrote:
> > In file included from sound/soc/codecs/cq93vc.c:32:0:
> > include/linux/mfd/davinci_voicecodec.h:31:27: fatal error: mach/hardware.h: No such file or directory
> > 

> As I indicated on cover letter, this patch is based on

> 	git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git :: for-mfd-next

> 	Especially this commit

> 	8ca9edc837932469b81b8b47ea43a074b6add970
> 	("mfd: davinci_voicecodec: Tidyup header difinitions")

Reverted.  Lee, there is actually a dependency here...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-12-06  0:14 Stephen Rothwell
@ 2016-12-06  0:41 ` Kuninori Morimoto
  2016-12-06  9:37   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Kuninori Morimoto @ 2016-12-06  0:41 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel


Hi Stephen, Mark

> In file included from sound/soc/codecs/cq93vc.c:32:0:
> include/linux/mfd/davinci_voicecodec.h:31:27: fatal error: mach/hardware.h: No such file or directory
> 
> Probably caused by commit
> 
>   4de429888c5b ("ASoC: cq93vc: remove MFD_DAVINCI_VOICECODEC dependency for CQ0093VC")
> 
> I have used the sound-asoc tree from next-20161205 for today.

As I indicated on cover letter, this patch is based on

	git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git :: for-mfd-next

	Especially this commit

	8ca9edc837932469b81b8b47ea43a074b6add970
	("mfd: davinci_voicecodec: Tidyup header difinitions")

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2016-12-06  0:14 Stephen Rothwell
  2016-12-06  0:41 ` Kuninori Morimoto
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2016-12-06  0:14 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Kuninori Morimoto

Hi all,

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

In file included from sound/soc/codecs/cq93vc.c:32:0:
include/linux/mfd/davinci_voicecodec.h:31:27: fatal error: mach/hardware.h: No such file or directory

Probably caused by commit

  4de429888c5b ("ASoC: cq93vc: remove MFD_DAVINCI_VOICECODEC dependency for CQ0093VC")

I have used the sound-asoc tree from next-20161205 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-11-14  0:28 Stephen Rothwell
@ 2016-11-14  9:45 ` Richard Fitzgerald
  0 siblings, 0 replies; 238+ messages in thread
From: Richard Fitzgerald @ 2016-11-14  9:45 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel

Yes, it's because Mark applied a chain of patches but missed the first
patch in the chain that added the wm_coeff_base_reg() function

On Mon, 2016-11-14 at 11:28 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/codecs/wm_adsp.c: In function 'wm_coeff_write_acked_control':
> sound/soc/codecs/wm_adsp.c:791:8: error: implicit declaration of function 'wm_coeff_base_reg' [-Werror=implicit-function-declaration]
>   ret = wm_coeff_base_reg(ctl, &reg);
>         ^
> 
> Caused by commit
> 
>   f4f0c4c60c39 ("ASoC: wm_adsp: Signal firmware shutdown through event control")
> 
> I have used the sound-asoc tree from next-20161111 for today.
> 

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2016-11-14  0:28 Stephen Rothwell
  2016-11-14  9:45 ` Richard Fitzgerald
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2016-11-14  0:28 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Richard Fitzgerald

Hi all,

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

sound/soc/codecs/wm_adsp.c: In function 'wm_coeff_write_acked_control':
sound/soc/codecs/wm_adsp.c:791:8: error: implicit declaration of function 'wm_coeff_base_reg' [-Werror=implicit-function-declaration]
  ret = wm_coeff_base_reg(ctl, &reg);
        ^

Caused by commit

  f4f0c4c60c39 ("ASoC: wm_adsp: Signal firmware shutdown through event control")

I have used the sound-asoc tree from next-20161111 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-11-08  3:18 ` Chen-Yu Tsai
@ 2016-11-09 14:41   ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2016-11-09 14:41 UTC (permalink / raw)
  To: Chen-Yu Tsai; +Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

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

On Tue, Nov 08, 2016 at 11:18:29AM +0800, Chen-Yu Tsai wrote:

> sound-asoc is missing patch

>     ASoC: sun4i-codec: Add support for optional reset control to quirks
>     http://www.spinics.net/lists/alsa-devel/msg56289.html

> which commit 8d9e4c9e993f ("ASoC: sun4i-codec: Add support for A31 playback
> through headphone output") depends on. This was part of the same series that
> I posted:

I don't have that...

> A new version of the remaining patches was posted yesterday:

>     http://www.spinics.net/lists/alsa-devel/msg56443.html

Please include human readable descriptions of things like commits and
issues being discussed in e-mail in your mails, this makes them much
easier for humans to read especially when they have no internet access.
I do frequently catch up on my mail on flights or while otherwise
travelling so this is even more pressing for me than just being about
making things a bit easier to read.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-11-08  2:47 Stephen Rothwell
@ 2016-11-08  3:18 ` Chen-Yu Tsai
  2016-11-09 14:41   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Chen-Yu Tsai @ 2016-11-08  3:18 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel, Chen-Yu Tsai

Hi,

On Tue, Nov 8, 2016 at 10:47 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> sound/soc/sunxi/sun4i-codec.c:1188:2: error: unknown field 'has_reset' specified in initializer
>   .has_reset = true,
>   ^
> sound/soc/sunxi/sun4i-codec.c:1188:15: warning: excess elements in struct initializer
>   .has_reset = true,
>                ^
> sound/soc/sunxi/sun4i-codec.c:1188:15: note: (near initialization for 'sun6i_a31_codec_quirks')
>
> Caused by commit
>
>   8d9e4c9e993f ("ASoC: sun4i-codec: Add support for A31 playback through headphone output")
>
> I have used the sound-asoc tree from next-20161028 for today.

sound-asoc is missing patch

    ASoC: sun4i-codec: Add support for optional reset control to quirks
    http://www.spinics.net/lists/alsa-devel/msg56289.html

which commit 8d9e4c9e993f ("ASoC: sun4i-codec: Add support for A31 playback
through headphone output") depends on. This was part of the same series that
I posted:

    http://www.spinics.net/lists/alsa-devel/msg56283.html

A new version of the remaining patches was posted yesterday:

    http://www.spinics.net/lists/alsa-devel/msg56443.html

The build failure should be resolved once Mark merges the remaining patches,
though some reordering might be needed to maintain bisectability.


Regards
ChenYu

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2016-11-08  2:47 Stephen Rothwell
  2016-11-08  3:18 ` Chen-Yu Tsai
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2016-11-08  2:47 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Chen-Yu Tsai

Hi all,

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

sound/soc/sunxi/sun4i-codec.c:1188:2: error: unknown field 'has_reset' specified in initializer
  .has_reset = true,
  ^
sound/soc/sunxi/sun4i-codec.c:1188:15: warning: excess elements in struct initializer
  .has_reset = true,
               ^
sound/soc/sunxi/sun4i-codec.c:1188:15: note: (near initialization for 'sun6i_a31_codec_quirks') 

Caused by commit

  8d9e4c9e993f ("ASoC: sun4i-codec: Add support for A31 playback through headphone output")

I have used the sound-asoc tree from next-20161028 for today.

-- 
Cheers,
Stephen Rothwell

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2016-08-23  2:27 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2016-08-23  2:27 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, John Hsu

Hi all,

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

In file included from include/sound/soc.h:415:0,
                 from sound/soc/codecs/nau8810.c:27:
sound/soc/codecs/nau8810.c:441:3: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
   &nau8810_loopback),
   ^
include/sound/soc-dapm.h:111:19: note: in definition of macro 'SND_SOC_DAPM_SWITCH'
  .kcontrol_news = wcontrols, .num_kcontrols = 1}
                   ^
sound/soc/codecs/nau8810.c:441:3: note: (near initialization for 'nau8810_dapm_widgets[11].kcontrol_news')
   &nau8810_loopback),
   ^
include/sound/soc-dapm.h:111:19: note: in definition of macro 'SND_SOC_DAPM_SWITCH'
  .kcontrol_news = wcontrols, .num_kcontrols = 1}
                   ^

Caused by commit

  b6970b48e384 ("ASoC: nau8810: Add driver for Nuvoton codec chip NAU88C10")

I have used the sound-asoc tree from next-20160822 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-08-08  0:50 Stephen Rothwell
@ 2016-08-08  1:29 ` Kuninori Morimoto
  0 siblings, 0 replies; 238+ messages in thread
From: Kuninori Morimoto @ 2016-08-08  1:29 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel


Hi

> After merging the sound-asoc tree, today's linux-next build (arm
> multi_v7_defconfig build) failed like this:
> 
> sound/soc/generic/simple-card.c: In function 'asoc_simple_card_dai_link_of':
> sound/soc/generic/simple-card.c:350:8: error: implicit declaration of function 'asoc_simple_card_parse_clk_cpu' [-Werror=implicit-function-declaration]
>   ret = asoc_simple_card_parse_clk_cpu(cpu, dai_link, cpu_dai);
>         ^
> sound/soc/generic/simple-card.c:354:8: error: implicit declaration of function 'asoc_simple_card_parse_clk_codec' [-Werror=implicit-function-declaration]
>   ret = asoc_simple_card_parse_clk_codec(codec, dai_link, codec_dai);
>         ^
> sound/soc/sh/rcar/rsrc-card.c: In function 'rsrc_card_parse_links':
> sound/soc/sh/rcar/rsrc-card.c:193:9: error: implicit declaration of function 'asoc_simple_card_parse_clk_cpu' [-Werror=implicit-function-declaration]
>    ret = asoc_simple_card_parse_clk_cpu(np, dai_link, dai_props);
>          ^
> sound/soc/sh/rcar/rsrc-card.c:232:9: error: implicit declaration of function 'asoc_simple_card_parse_clk_codec' [-Werror=implicit-function-declaration]
>    ret = asoc_simple_card_parse_clk_codec(np, dai_link, dai_props);
>          ^
> 
> Caused by commits
> 
>   28abd99b6e40 ("ASoC: simple-card: use asoc_simple_card_parse_clk()")
>   c9a235da8a61 ("ASoC: rsrc-card: use asoc_simple_card_parse_clk()")
> 
> I have used the sound-asoc tree from next-20160805 for today.

It seems topic/simple branch is missing [1/7], but has [2/7], [3/7] patches.
I'm asking it to Mark now.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2016-08-08  0:50 Stephen Rothwell
  2016-08-08  1:29 ` Kuninori Morimoto
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2016-08-08  0:50 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Kuninori Morimoto

Hi all,

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

sound/soc/generic/simple-card.c: In function 'asoc_simple_card_dai_link_of':
sound/soc/generic/simple-card.c:350:8: error: implicit declaration of function 'asoc_simple_card_parse_clk_cpu' [-Werror=implicit-function-declaration]
  ret = asoc_simple_card_parse_clk_cpu(cpu, dai_link, cpu_dai);
        ^
sound/soc/generic/simple-card.c:354:8: error: implicit declaration of function 'asoc_simple_card_parse_clk_codec' [-Werror=implicit-function-declaration]
  ret = asoc_simple_card_parse_clk_codec(codec, dai_link, codec_dai);
        ^
sound/soc/sh/rcar/rsrc-card.c: In function 'rsrc_card_parse_links':
sound/soc/sh/rcar/rsrc-card.c:193:9: error: implicit declaration of function 'asoc_simple_card_parse_clk_cpu' [-Werror=implicit-function-declaration]
   ret = asoc_simple_card_parse_clk_cpu(np, dai_link, dai_props);
         ^
sound/soc/sh/rcar/rsrc-card.c:232:9: error: implicit declaration of function 'asoc_simple_card_parse_clk_codec' [-Werror=implicit-function-declaration]
   ret = asoc_simple_card_parse_clk_codec(np, dai_link, dai_props);
         ^

Caused by commits

  28abd99b6e40 ("ASoC: simple-card: use asoc_simple_card_parse_clk()")
  c9a235da8a61 ("ASoC: rsrc-card: use asoc_simple_card_parse_clk()")

I have used the sound-asoc tree from next-20160805 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-05-11  1:07 Stephen Rothwell
@ 2016-05-11  3:38 ` Vinod Koul
  0 siblings, 0 replies; 238+ messages in thread
From: Vinod Koul @ 2016-05-11  3:38 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel, Ramesh Babu,
	Senthilnathan Veppur, Mengdong Lin

On Wed, May 11, 2016 at 11:07:02AM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/intel/boards/bxt_rt298.c:257:3: error: unknown field 'be_id' specified in initializer
>    .be_id = 0,
>    ^
> sound/soc/intel/boards/bxt_rt298.c:274:3: error: unknown field 'be_id' specified in initializer
>    .be_id = 1,
>    ^
> sound/soc/intel/boards/bxt_rt298.c:274:12: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>    .be_id = 1,
>             ^
> sound/soc/intel/boards/bxt_rt298.c:274:12: note: (near initialization for 'broxton_rt298_dais[7].stream_name')
> sound/soc/intel/boards/bxt_rt298.c:285:3: error: unknown field 'be_id' specified in initializer
>    .be_id = 3,
>    ^
> sound/soc/intel/boards/bxt_rt298.c:285:12: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>    .be_id = 3,
>             ^
> sound/soc/intel/boards/bxt_rt298.c:285:12: note: (near initialization for 'broxton_rt298_dais[8].stream_name')
> sound/soc/intel/boards/bxt_rt298.c:296:3: error: unknown field 'be_id' specified in initializer 
>    .be_id = 4,
>    ^
> sound/soc/intel/boards/bxt_rt298.c:296:12: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>    .be_id = 4,
>             ^
> sound/soc/intel/boards/bxt_rt298.c:296:12: note: (near initialization for 'broxton_rt298_dais[9].stream_name')
> sound/soc/intel/boards/bxt_rt298.c:307:3: error: unknown field 'be_id' specified in initializer 
>    .be_id = 5,
>    ^
> sound/soc/intel/boards/bxt_rt298.c:307:12: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>    .be_id = 5,
>             ^
> 
> Caused by commit
> 
>   76016322ec56 ("ASoC: Intel: Add Broxton-P machine driver")
> 
> interacting with commit
> 
>   2f0ad49104cb ("ASoC: Change DAI link's be_id to a generic id")

My bad, patch was generated against topic/intel of Mark's tree and I should
have checked the -next branch as well

> 
> I applied the following fix patch that should have happened in the
> merge commit
> 
>   8554363b9f0f ("Merge remote-tracking branches 'asoc/topic/dai-link', 'asoc/topic/davinci', 'asoc/topic/dwc' and 'asoc/topic/es8328' into asoc-next")
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Wed, 11 May 2016 11:03:25 +1000
> Subject: [PATCH] ASoC: Intel: fix up for DAI link's be_id change
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Acked-by: Vinod Koul <vinod.koul@intel.com>

I guess Mark you will merge this as well?


> ---
>  sound/soc/intel/boards/bxt_rt298.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/sound/soc/intel/boards/bxt_rt298.c b/sound/soc/intel/boards/bxt_rt298.c
> index 1b845ff779f3..f4787515c0ed 100644
> --- a/sound/soc/intel/boards/bxt_rt298.c
> +++ b/sound/soc/intel/boards/bxt_rt298.c
> @@ -254,7 +254,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
>  	{
>  		/* SSP5 - Codec */
>  		.name = "SSP5-Codec",
> -		.be_id = 0,
> +		.id = 0,
>  		.cpu_dai_name = "SSP5 Pin",
>  		.platform_name = "0000:00:0e.0",
>  		.no_pcm = 1,
> @@ -271,7 +271,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
>  	},
>  	{
>  		.name = "dmic01",
> -		.be_id = 1,
> +		.id = 1,
>  		.cpu_dai_name = "DMIC01 Pin",
>  		.codec_name = "dmic-codec",
>  		.codec_dai_name = "dmic-hifi",
> @@ -282,7 +282,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
>  	},
>  	{
>  		.name = "iDisp1",
> -		.be_id = 3,
> +		.id = 3,
>  		.cpu_dai_name = "iDisp1 Pin",
>  		.codec_name = "ehdaudio0D2",
>  		.codec_dai_name = "intel-hdmi-hifi1",
> @@ -293,7 +293,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
>  	},
>  	{
>  		.name = "iDisp2",
> -		.be_id = 4,
> +		.id = 4,
>  		.cpu_dai_name = "iDisp2 Pin",
>  		.codec_name = "ehdaudio0D2",
>  		.codec_dai_name = "intel-hdmi-hifi2",
> @@ -304,7 +304,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
>  	},
>  	{
>  		.name = "iDisp3",
> -		.be_id = 5,
> +		.id = 5,
>  		.cpu_dai_name = "iDisp3 Pin",
>  		.codec_name = "ehdaudio0D2",
>  		.codec_dai_name = "intel-hdmi-hifi3",
> -- 
> 2.7.0
> 
> -- 
> Cheers,
> Stephen Rothwell

Thanks
-- 
~Vinod

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2016-05-11  1:07 Stephen Rothwell
  2016-05-11  3:38 ` Vinod Koul
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2016-05-11  1:07 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Ramesh Babu, Senthilnathan Veppur,
	Vinod Koul, Mengdong Lin

Hi all,

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

sound/soc/intel/boards/bxt_rt298.c:257:3: error: unknown field 'be_id' specified in initializer
   .be_id = 0,
   ^
sound/soc/intel/boards/bxt_rt298.c:274:3: error: unknown field 'be_id' specified in initializer
   .be_id = 1,
   ^
sound/soc/intel/boards/bxt_rt298.c:274:12: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
   .be_id = 1,
            ^
sound/soc/intel/boards/bxt_rt298.c:274:12: note: (near initialization for 'broxton_rt298_dais[7].stream_name')
sound/soc/intel/boards/bxt_rt298.c:285:3: error: unknown field 'be_id' specified in initializer
   .be_id = 3,
   ^
sound/soc/intel/boards/bxt_rt298.c:285:12: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
   .be_id = 3,
            ^
sound/soc/intel/boards/bxt_rt298.c:285:12: note: (near initialization for 'broxton_rt298_dais[8].stream_name')
sound/soc/intel/boards/bxt_rt298.c:296:3: error: unknown field 'be_id' specified in initializer 
   .be_id = 4,
   ^
sound/soc/intel/boards/bxt_rt298.c:296:12: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
   .be_id = 4,
            ^
sound/soc/intel/boards/bxt_rt298.c:296:12: note: (near initialization for 'broxton_rt298_dais[9].stream_name')
sound/soc/intel/boards/bxt_rt298.c:307:3: error: unknown field 'be_id' specified in initializer 
   .be_id = 5,
   ^
sound/soc/intel/boards/bxt_rt298.c:307:12: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
   .be_id = 5,
            ^

Caused by commit

  76016322ec56 ("ASoC: Intel: Add Broxton-P machine driver")

interacting with commit

  2f0ad49104cb ("ASoC: Change DAI link's be_id to a generic id")

I applied the following fix patch that should have happened in the
merge commit

  8554363b9f0f ("Merge remote-tracking branches 'asoc/topic/dai-link', 'asoc/topic/davinci', 'asoc/topic/dwc' and 'asoc/topic/es8328' into asoc-next")

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 11 May 2016 11:03:25 +1000
Subject: [PATCH] ASoC: Intel: fix up for DAI link's be_id change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/intel/boards/bxt_rt298.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sound/soc/intel/boards/bxt_rt298.c b/sound/soc/intel/boards/bxt_rt298.c
index 1b845ff779f3..f4787515c0ed 100644
--- a/sound/soc/intel/boards/bxt_rt298.c
+++ b/sound/soc/intel/boards/bxt_rt298.c
@@ -254,7 +254,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
 	{
 		/* SSP5 - Codec */
 		.name = "SSP5-Codec",
-		.be_id = 0,
+		.id = 0,
 		.cpu_dai_name = "SSP5 Pin",
 		.platform_name = "0000:00:0e.0",
 		.no_pcm = 1,
@@ -271,7 +271,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
 	},
 	{
 		.name = "dmic01",
-		.be_id = 1,
+		.id = 1,
 		.cpu_dai_name = "DMIC01 Pin",
 		.codec_name = "dmic-codec",
 		.codec_dai_name = "dmic-hifi",
@@ -282,7 +282,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
 	},
 	{
 		.name = "iDisp1",
-		.be_id = 3,
+		.id = 3,
 		.cpu_dai_name = "iDisp1 Pin",
 		.codec_name = "ehdaudio0D2",
 		.codec_dai_name = "intel-hdmi-hifi1",
@@ -293,7 +293,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
 	},
 	{
 		.name = "iDisp2",
-		.be_id = 4,
+		.id = 4,
 		.cpu_dai_name = "iDisp2 Pin",
 		.codec_name = "ehdaudio0D2",
 		.codec_dai_name = "intel-hdmi-hifi2",
@@ -304,7 +304,7 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
 	},
 	{
 		.name = "iDisp3",
-		.be_id = 5,
+		.id = 5,
 		.cpu_dai_name = "iDisp3 Pin",
 		.codec_name = "ehdaudio0D2",
 		.codec_dai_name = "intel-hdmi-hifi3",
-- 
2.7.0

-- 
Cheers,
Stephen Rothwell

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2016-05-06 12:02   ` Mark Brown
@ 2016-05-06 13:39     ` Opensource [Adam Thomson]
  0 siblings, 0 replies; 238+ messages in thread
From: Opensource [Adam Thomson] @ 2016-05-06 13:39 UTC (permalink / raw)
  To: Mark Brown, Opensource [Adam Thomson]
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel,
	Sathyanarayana Nujella

On May 06, 2016, 13:03, Mark Brown wrote:

> > This patch was the 3rd in of a set of 3, and the header you added below was
> > added as part of the 2nd patch of that set, hence why it is missing here. I
> > assume the first 2 patches are still being reviewed by Mark.
> 
> Yes.  The ID patch should have been the first one here, put the simple
> stuff first.

In my mind it makes sense to only add this after support to use it is in place
in the driver, hence the ordering.

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-05-06  9:48 ` Opensource [Adam Thomson]
@ 2016-05-06 12:02   ` Mark Brown
  2016-05-06 13:39     ` Opensource [Adam Thomson]
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2016-05-06 12:02 UTC (permalink / raw)
  To: Opensource [Adam Thomson]
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel,
	Sathyanarayana Nujella

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

On Fri, May 06, 2016 at 09:48:51AM +0000, Opensource [Adam Thomson] wrote:

> This patch was the 3rd in of a set of 3, and the header you added below was
> added as part of the 2nd patch of that set, hence why it is missing here. I
> assume the first 2 patches are still being reviewed by Mark.

Yes.  The ID patch should have been the first one here, put the simple
stuff first.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2016-05-06  0:57 Stephen Rothwell
@ 2016-05-06  9:48 ` Opensource [Adam Thomson]
  2016-05-06 12:02   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Opensource [Adam Thomson] @ 2016-05-06  9:48 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Opensource [Adam Thomson],
	Sathyanarayana Nujella

On May 06, 2016, 01:58, Stephen Rothwell wrote:

> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/codecs/da7219.c:1964:23: error: implicit declaration of function
> 'ACPI_PTR' [-Werror=implicit-function-declaration]
>    .acpi_match_table = ACPI_PTR(da7219_acpi_match),
>                        ^
> sound/soc/codecs/da7219.c:1964:23: error: initializer element is not constant
> sound/soc/codecs/da7219.c:1964:23: note: (near initialization for
> 'da7219_i2c_driver.driver.acpi_match_table')
> 
> Caused by commit
> 
>   5181365f5312 ("ASoC: da7219: Add initial ACPI id for device")
> 
> I added this patch for today:

This patch was the 3rd in of a set of 3, and the header you added below was
added as part of the 2nd patch of that set, hence why it is missing here. I
assume the first 2 patches are still being reviewed by Mark.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2016-05-06  0:57 Stephen Rothwell
  2016-05-06  9:48 ` Opensource [Adam Thomson]
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2016-05-06  0:57 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Adam Thomson, Sathyanarayana Nujella

Hi all,

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

sound/soc/codecs/da7219.c:1964:23: error: implicit declaration of function 'ACPI_PTR' [-Werror=implicit-function-declaration]
   .acpi_match_table = ACPI_PTR(da7219_acpi_match),
                       ^
sound/soc/codecs/da7219.c:1964:23: error: initializer element is not constant
sound/soc/codecs/da7219.c:1964:23: note: (near initialization for 'da7219_i2c_driver.driver.acpi_match_table')

Caused by commit

  5181365f5312 ("ASoC: da7219: Add initial ACPI id for device")

I added this patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 6 May 2016 10:52:45 +1000
Subject: [PATCH] ASoC: da7219: include acpi.h for ACPI_PTR

Fixed: 5181365f5312 ("ASoC: da7219: Add initial ACPI id for device")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/codecs/da7219.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c
index 17e2119f211b..1d9f4ff4355a 100644
--- a/sound/soc/codecs/da7219.c
+++ b/sound/soc/codecs/da7219.c
@@ -20,6 +20,7 @@
 #include <linux/module.h>
 #include <linux/delay.h>
 #include <linux/regulator/consumer.h>
+#include <linux/acpi.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
-- 
2.7.0

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-04-22  8:40 ` Philipp Zabel
  2016-04-22  8:58   ` Mark Brown
@ 2016-04-22  9:21   ` Mark Brown
  1 sibling, 0 replies; 238+ messages in thread
From: Mark Brown @ 2016-04-22  9:21 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel, Jyri Sarha

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

On Fri, Apr 22, 2016 at 10:40:11AM +0200, Philipp Zabel wrote:

> --------8<--------
> From: Philipp Zabel <p.zabel@pengutronix.de>
> Subject: [PATCH] fixup! ASoC: hdmi-codec: Add ELD control

Please also use subject lines that match the style for the subsystem.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-04-22  8:40 ` Philipp Zabel
@ 2016-04-22  8:58   ` Mark Brown
  2016-04-22  9:21   ` Mark Brown
  1 sibling, 0 replies; 238+ messages in thread
From: Mark Brown @ 2016-04-22  8:58 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel, Jyri Sarha

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

On Fri, Apr 22, 2016 at 10:40:11AM +0200, Philipp Zabel wrote:

> --------8<--------
> From: Philipp Zabel <p.zabel@pengutronix.de>
> Subject: [PATCH] fixup! ASoC: hdmi-codec: Add ELD control

Please don't bury patches in the middle of e-mails.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2016-04-22  2:03 Stephen Rothwell
@ 2016-04-22  8:40 ` Philipp Zabel
  2016-04-22  8:58   ` Mark Brown
  2016-04-22  9:21   ` Mark Brown
  0 siblings, 2 replies; 238+ messages in thread
From: Philipp Zabel @ 2016-04-22  8:40 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel, Jyri Sarha

Am Freitag, den 22.04.2016, 12:03 +1000 schrieb Stephen Rothwell:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> In file included from include/linux/notifier.h:13:0,
>                  from include/linux/memory_hotplug.h:6,
>                  from include/linux/mmzone.h:744,
>                  from include/linux/gfp.h:5,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from sound/soc/codecs/hdmi-codec.c:15:
> sound/soc/codecs/hdmi-codec.c: In function 'hdmi_eld_ctl_get':
> sound/soc/codecs/hdmi-codec.c:68:17: error: 'struct hdmi_codec_priv' has no member named 'eld_lock'
>   mutex_lock(&hcp->eld_lock);
>                  ^
> include/linux/mutex.h:146:44: note: in definition of macro 'mutex_lock'
>  #define mutex_lock(lock) mutex_lock_nested(lock, 0)
>                                             ^
> sound/soc/codecs/hdmi-codec.c:70:19: error: 'struct hdmi_codec_priv' has no member named 'eld_lock'
>   mutex_unlock(&hcp->eld_lock);
>                    ^
> 
> Caused by commit
> 
>   81151cfb6bfe ("ASoC: hdmi-codec: Add ELD control")
> 
> I have used the sound-asoc tree from next-20160421 for today.

Sorry, the mutex_lock slipped through when reordering the patches.
That should be part of the "Use HDMI notifications to add jack support"
patch instead.

regards
Philipp

--------8<--------
From: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [PATCH] fixup! ASoC: hdmi-codec: Add ELD control

---
 sound/soc/codecs/hdmi-codec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
index c78333b..8e36e88 100644
--- a/sound/soc/codecs/hdmi-codec.c
+++ b/sound/soc/codecs/hdmi-codec.c
@@ -65,9 +65,7 @@ static int hdmi_eld_ctl_get(struct snd_kcontrol *kcontrol,
 	struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
 	struct hdmi_codec_priv *hcp = snd_soc_component_get_drvdata(component);
 
-	mutex_lock(&hcp->eld_lock);
 	memcpy(ucontrol->value.bytes.data, hcp->eld, sizeof(hcp->eld));
-	mutex_unlock(&hcp->eld_lock);
 
 	return 0;
 }
-- 
2.8.0.rc3

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2016-04-22  2:03 Stephen Rothwell
  2016-04-22  8:40 ` Philipp Zabel
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2016-04-22  2:03 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Philipp Zabel, Jyri Sarha

Hi all,

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

In file included from include/linux/notifier.h:13:0,
                 from include/linux/memory_hotplug.h:6,
                 from include/linux/mmzone.h:744,
                 from include/linux/gfp.h:5,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from sound/soc/codecs/hdmi-codec.c:15:
sound/soc/codecs/hdmi-codec.c: In function 'hdmi_eld_ctl_get':
sound/soc/codecs/hdmi-codec.c:68:17: error: 'struct hdmi_codec_priv' has no member named 'eld_lock'
  mutex_lock(&hcp->eld_lock);
                 ^
include/linux/mutex.h:146:44: note: in definition of macro 'mutex_lock'
 #define mutex_lock(lock) mutex_lock_nested(lock, 0)
                                            ^
sound/soc/codecs/hdmi-codec.c:70:19: error: 'struct hdmi_codec_priv' has no member named 'eld_lock'
  mutex_unlock(&hcp->eld_lock);
                   ^

Caused by commit

  81151cfb6bfe ("ASoC: hdmi-codec: Add ELD control")

I have used the sound-asoc tree from next-20160421 for today.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-11-20 12:06   ` Mark Brown
@ 2015-11-20 14:58     ` Vinod Koul
  0 siblings, 0 replies; 238+ messages in thread
From: Vinod Koul @ 2015-11-20 14:58 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel,
	Mengdong Lin, Harsha Priya, Conrad Cooke, Naveen M,
	Sathya Prakash M R, Yong Zhi, Fang, Yang A,
	Sathyanarayana Nujella

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

On Fri, Nov 20, 2015 at 12:06:13PM +0000, Mark Brown wrote:
> On Thu, Nov 19, 2015 at 08:32:09AM +0530, Vinod Koul wrote:
> > On Thu, Nov 19, 2015 at 11:35:28AM +1100, Stephen Rothwell wrote:
> 
> > > Caused by commit
> > > 
> > >   a86d505783e4 ("ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver")
> 
> > Okay both went it same time, I will send a patch for this
> 
> Not seeing that patch...

Sorry for the delay. I have the patches, testing it now. couple of hours and
it should be on the list :)

Thanks
-- 
~Vinod

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-11-19  3:02 ` Vinod Koul
  2015-11-19 10:38   ` Mark Brown
@ 2015-11-20 12:06   ` Mark Brown
  2015-11-20 14:58     ` Vinod Koul
  1 sibling, 1 reply; 238+ messages in thread
From: Mark Brown @ 2015-11-20 12:06 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel,
	Mengdong Lin, Harsha Priya, Conrad Cooke, Naveen M,
	Sathya Prakash M R, Yong Zhi, Fang, Yang A,
	Sathyanarayana Nujella

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

On Thu, Nov 19, 2015 at 08:32:09AM +0530, Vinod Koul wrote:
> On Thu, Nov 19, 2015 at 11:35:28AM +1100, Stephen Rothwell wrote:

> > Caused by commit
> > 
> >   a86d505783e4 ("ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver")

> Okay both went it same time, I will send a patch for this

Not seeing that patch...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-11-19  3:02 ` Vinod Koul
@ 2015-11-19 10:38   ` Mark Brown
  2015-11-20 12:06   ` Mark Brown
  1 sibling, 0 replies; 238+ messages in thread
From: Mark Brown @ 2015-11-19 10:38 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel,
	Mengdong Lin, Harsha Priya, Conrad Cooke, Naveen M,
	Sathya Prakash M R, Yong Zhi, Fang, Yang A,
	Sathyanarayana Nujella

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

On Thu, Nov 19, 2015 at 08:32:09AM +0530, Vinod Koul wrote:
> On Thu, Nov 19, 2015 at 11:35:28AM +1100, Stephen Rothwell wrote:

> >   a86d505783e4 ("ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver")

> Okay both went it same time, I will send a patch for this

> Somehow Feng's bot missed this...

There was a mail about it - it came out too close to when Stephen
usually pulls for me to do anything about backing things out.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-11-19  0:35 Stephen Rothwell
@ 2015-11-19  3:02 ` Vinod Koul
  2015-11-19 10:38   ` Mark Brown
  2015-11-20 12:06   ` Mark Brown
  0 siblings, 2 replies; 238+ messages in thread
From: Vinod Koul @ 2015-11-19  3:02 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel,
	Mengdong Lin, Harsha Priya, Conrad Cooke, Naveen M,
	Sathya Prakash M R, Yong Zhi, Fang, Yang A,
	Sathyanarayana Nujella

On Thu, Nov 19, 2015 at 11:35:28AM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/fsl/fsl-asoc-card.c: In function 'fsl_asoc_card_late_probe':
> sound/soc/fsl/fsl-asoc-card.c:420:38: error: 'struct snd_soc_card' has no member named 'rtd'
>   struct snd_soc_dai *codec_dai = card->rtd[0].codec_dai;
>                                       ^
> sound/soc/fsl/fsl-asoc-card.c:427:37: error: 'struct snd_soc_card' has no member named 'rtd'
>    struct snd_soc_codec *codec = card->rtd[0].codec;
>                                      ^
> 
> Caused by commit
> 
>   5015920a1732 ("ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime()")
> 
> sound/soc/intel/boards/skl_nau88l25_ssm4567.c: In function 'skl_get_codec_dai':
> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:43:13: error: 'struct snd_soc_card' has no member named 'rtd'
>    rtd = card->rtd + i;
>              ^
> 
> Caused by commit
> 
>   a86d505783e4 ("ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver")
Okay both went it same time, I will send a patch for this

Somehow Feng's bot missed this...

-- 
~Vinod

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-11-19  0:35 Stephen Rothwell
  2015-11-19  3:02 ` Vinod Koul
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-11-19  0:35 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Mengdong Lin, Harsha Priya,
	Conrad Cooke, Naveen M, Sathya Prakash M R, Yong Zhi, Fang,
	Yang A, Sathyanarayana Nujella, Vinod Koul

Hi all,

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

sound/soc/fsl/fsl-asoc-card.c: In function 'fsl_asoc_card_late_probe':
sound/soc/fsl/fsl-asoc-card.c:420:38: error: 'struct snd_soc_card' has no member named 'rtd'
  struct snd_soc_dai *codec_dai = card->rtd[0].codec_dai;
                                      ^
sound/soc/fsl/fsl-asoc-card.c:427:37: error: 'struct snd_soc_card' has no member named 'rtd'
   struct snd_soc_codec *codec = card->rtd[0].codec;
                                     ^

Caused by commit

  5015920a1732 ("ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime()")

sound/soc/intel/boards/skl_nau88l25_ssm4567.c: In function 'skl_get_codec_dai':
sound/soc/intel/boards/skl_nau88l25_ssm4567.c:43:13: error: 'struct snd_soc_card' has no member named 'rtd'
   rtd = card->rtd + i;
             ^

Caused by commit

  a86d505783e4 ("ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver")

I have used the sound-asoc tree from next-20151118 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-09-21  1:23 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2015-09-21  1:23 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Bard Liao

Hi all,

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

sound/soc/codecs/rt5645.c: In function 'rt5645_i2c_probe':
sound/soc/codecs/rt5645.c:3277:21: error: 'dmi_platform_intel_broadwel' undeclared (first use in this function)
    dmi_check_system(dmi_platform_intel_broadwel)
                     ^
sound/soc/codecs/rt5645.c:3277:21: note: each undeclared identifier is reported only once for each function it appears in
sound/soc/codecs/rt5645.c:3278:3: error: expected ')' before 'rt5645'
   rt5645->pdata = *rt5645_pdata;
   ^
sound/soc/codecs/rt5645.c:3478:1: error: expected expression before '}' token
 }
 ^
sound/soc/codecs/rt5645.c:3264:15: warning: unused variable 'val' [-Wunused-variable]
  unsigned int val;
               ^
sound/soc/codecs/rt5645.c:3263:11: warning: unused variable 'i' [-Wunused-variable]
  int ret, i;
           ^
sound/soc/codecs/rt5645.c:3263:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret, i;
      ^
sound/soc/codecs/rt5645.c: At top level:
sound/soc/codecs/rt5645.c:2894:13: warning: 'rt5645_jack_detect_work' defined but not used [-Wunused-function]
 static void rt5645_jack_detect_work(struct work_struct *work)
             ^
sound/soc/codecs/rt5645.c:3090:34: warning: 'rt5645_dai' defined but not used [-Wunused-variable]
 static struct snd_soc_dai_driver rt5645_dai[] = {
                                  ^
sound/soc/codecs/rt5645.c:3131:36: warning: 'soc_codec_dev_rt5645' defined but not used [-Wunused-variable]
 static struct snd_soc_codec_driver soc_codec_dev_rt5645 = {
                                    ^
sound/soc/codecs/rt5645.c:3232:29: warning: 'dmi_platform_intel_broadwell' defined but not used [-Wunused-variable]
 static struct snd_soc_codec_driver soc_codec_dev_rt5645 = {
                                    ^
sound/soc/codecs/rt5645.c:3232:29: warning: 'dmi_platform_intel_broadwell' defined but not used [-Wunused-variable]
 static struct dmi_system_id dmi_platform_intel_broadwell[] __initdata = {
                             ^
sound/soc/codecs/rt5645.c:3244:12: warning: 'rt5645_parse_dt' defined but not used [-Wunused-function]
 static int rt5645_parse_dt(struct rt5645_priv *rt5645, struct device *dev)
            ^
sound/soc/codecs/rt5645.c: In function 'rt5645_i2c_probe':
sound/soc/codecs/rt5645.c:3478:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

Caused by commit

  3dbabe60c832 ("ASoC: rt5645: Add dmi for Broadwell")

I have used the sound-asoc tree from next-20150918 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-08-31  7:51         ` Stephen Rothwell
@ 2015-08-31  8:18           ` Ricard Wanderlof
  0 siblings, 0 replies; 238+ messages in thread
From: Ricard Wanderlof @ 2015-08-31  8:18 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel


On Mon, 31 Aug 2015, Stephen Rothwell wrote:

> On Mon, 31 Aug 2015 17:48:42 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > On Mon, 31 Aug 2015 09:04:22 +0200 Ricard Wanderlof <ricard.wanderlof@axis.com> wrote:
> > >
> > > On Fri, 28 Aug 2015, Mark Brown wrote:
> > > 
> > > > On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard Wanderlof wrote:
> > > > > On Fri, 28 Aug 2015, Stephen Rothwell wrote:
> > > > 
> > > > > In fact the exact same construct is used by a handful of other codec 
> > > > > drivers which apparently don't fail.
> > > > 
> > > > > I'm suspecting something slightly more convoluted like a missing 
> > > > #include .
> > > > 
> > > > No, the issue is that you have used a different variable name when 
> > > > declaring the IDs and when referencing them in the module device table.
> > > 
> > > Yeah, I realized that upon closer inspection. 
> > > 
> > > What bugs me is that my ARM gcc didn't seem to flag this, whereas the 
> > > x86 gcc did upon subsequent testing. And yes, CONFIG_OF is set during my 
> > > build.
> > 
> > Do you have CONFIG_MODULE set in your build? (just guessing)
> 
> Actually what matters is if you build the driver as a module or not.
> See include/linux/module.h and the definitions of MODULE_DEVICE_TABLE().

Bingo.

Haven't verified that, but it's true, the kernel build for our ARM system 
is largely monolithic as we have no need to reconfigure it once it has 
been built. Whereas in my x86 test build the driver was built as a module.

Thanks Stegphen!

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-08-31  7:48       ` Stephen Rothwell
@ 2015-08-31  7:51         ` Stephen Rothwell
  2015-08-31  8:18           ` Ricard Wanderlof
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-08-31  7:51 UTC (permalink / raw)
  To: Ricard Wanderlof; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel

Hi Ricard,

On Mon, 31 Aug 2015 17:48:42 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Mon, 31 Aug 2015 09:04:22 +0200 Ricard Wanderlof <ricard.wanderlof@axis.com> wrote:
> >
> > On Fri, 28 Aug 2015, Mark Brown wrote:
> > 
> > > On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard Wanderlof wrote:
> > > > On Fri, 28 Aug 2015, Stephen Rothwell wrote:
> > > 
> > > > In fact the exact same construct is used by a handful of other codec 
> > > > drivers which apparently don't fail.
> > > 
> > > > I'm suspecting something slightly more convoluted like a missing 
> > > #include .
> > > 
> > > No, the issue is that you have used a different variable name when 
> > > declaring the IDs and when referencing them in the module device table.
> > 
> > Yeah, I realized that upon closer inspection. 
> > 
> > What bugs me is that my ARM gcc didn't seem to flag this, whereas the 
> > x86 gcc did upon subsequent testing. And yes, CONFIG_OF is set during my 
> > build.
> 
> Do you have CONFIG_MODULE set in your build? (just guessing)

Actually what matters is if you build the driver as a module or not.
See include/linux/module.h and the definitions of MODULE_DEVICE_TABLE().

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-08-31  7:04     ` Ricard Wanderlof
@ 2015-08-31  7:48       ` Stephen Rothwell
  2015-08-31  7:51         ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-08-31  7:48 UTC (permalink / raw)
  To: Ricard Wanderlof; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel

Hi Ricard,

On Mon, 31 Aug 2015 09:04:22 +0200 Ricard Wanderlof <ricard.wanderlof@axis.com> wrote:
>
> On Fri, 28 Aug 2015, Mark Brown wrote:
> 
> > On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard Wanderlof wrote:
> > > On Fri, 28 Aug 2015, Stephen Rothwell wrote:
> > 
> > > In fact the exact same construct is used by a handful of other codec 
> > > drivers which apparently don't fail.
> > 
> > > I'm suspecting something slightly more convoluted like a missing 
> > #include .
> > 
> > No, the issue is that you have used a different variable name when 
> > declaring the IDs and when referencing them in the module device table.
> 
> Yeah, I realized that upon closer inspection. 
> 
> What bugs me is that my ARM gcc didn't seem to flag this, whereas the 
> x86 gcc did upon subsequent testing. And yes, CONFIG_OF is set during my 
> build.

Do you have CONFIG_MODULE set in your build? (just guessing)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-08-28 15:45   ` Mark Brown
@ 2015-08-31  7:04     ` Ricard Wanderlof
  2015-08-31  7:48       ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Ricard Wanderlof @ 2015-08-31  7:04 UTC (permalink / raw)
  To: Mark Brown; +Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel


On Fri, 28 Aug 2015, Mark Brown wrote:

> On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard Wanderlof wrote:
> > On Fri, 28 Aug 2015, Stephen Rothwell wrote:
> 
> > In fact the exact same construct is used by a handful of other codec 
> > drivers which apparently don't fail.
> 
> > I'm suspecting something slightly more convoluted like a missing 
> #include .
> 
> No, the issue is that you have used a different variable name when 
> declaring the IDs and when referencing them in the module device table.

Yeah, I realized that upon closer inspection. 

What bugs me is that my ARM gcc didn't seem to flag this, whereas the 
x86 gcc did upon subsequent testing. And yes, CONFIG_OF is set during my 
build.

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-08-28  7:40 ` Ricard Wanderlof
@ 2015-08-28 15:45   ` Mark Brown
  2015-08-31  7:04     ` Ricard Wanderlof
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2015-08-28 15:45 UTC (permalink / raw)
  To: Ricard Wanderlof
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

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

On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard Wanderlof wrote:
> On Fri, 28 Aug 2015, Stephen Rothwell wrote:

> In fact the exact same construct is used by a handful of other codec 
> drivers which apparently don't fail.

> I'm suspecting something slightly more convoluted like a missing #include .

No, the issue is that you have used a different variable name when
declaring the IDs and when referencing them in the module device table.

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-08-28  1:50 Stephen Rothwell
@ 2015-08-28  7:40 ` Ricard Wanderlof
  2015-08-28 15:45   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Ricard Wanderlof @ 2015-08-28  7:40 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel


On Fri, 28 Aug 2015, Stephen Rothwell wrote:

> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> In file included from sound/soc/codecs/ics43432.c:12:0:
> sound/soc/codecs/ics43432.c:60:25: error: 'ics43432_dt_ids' undeclared here (not in a function)
>  MODULE_DEVICE_TABLE(of, ics43432_dt_ids);
>                          ^
> include/linux/module.h:223:21: note: in definition of macro 'MODULE_DEVICE_TABLE'
>  extern const typeof(name) __mod_##type##__##name##_device_table  \
>                      ^
> include/linux/module.h:223:27: error: '__mod_of__ics43432_dt_ids_device_table' aliased to undefined symbol 'ics43432_dt_ids'
>  extern const typeof(name) __mod_##type##__##name##_device_table  \
>                            ^ 
> sound/soc/codecs/ics43432.c:60:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
>  MODULE_DEVICE_TABLE(of, ics43432_dt_ids);
>  ^
> 
> Caused by commit
> 
>   3b7ce99748f0 ("ASoC: ics43432: Add codec driver for InvenSense ICS-43432")
> 
> Not really build tested with CONFIG_OF set, right? :-(

Well, actually, yes.

In fact the exact same construct is used by a handful of other codec 
drivers which apparently don't fail.

I'm suspecting something slightly more convoluted like a missing #include .

> I have reverted that commit for today.

Ok. I'll get to work on this ASAP.

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-08-28  1:50 Stephen Rothwell
  2015-08-28  7:40 ` Ricard Wanderlof
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-08-28  1:50 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Ricard Wanderlof

Hi all,

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

In file included from sound/soc/codecs/ics43432.c:12:0:
sound/soc/codecs/ics43432.c:60:25: error: 'ics43432_dt_ids' undeclared here (not in a function)
 MODULE_DEVICE_TABLE(of, ics43432_dt_ids);
                         ^
include/linux/module.h:223:21: note: in definition of macro 'MODULE_DEVICE_TABLE'
 extern const typeof(name) __mod_##type##__##name##_device_table  \
                     ^
include/linux/module.h:223:27: error: '__mod_of__ics43432_dt_ids_device_table' aliased to undefined symbol 'ics43432_dt_ids'
 extern const typeof(name) __mod_##type##__##name##_device_table  \
                           ^ 
sound/soc/codecs/ics43432.c:60:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
 MODULE_DEVICE_TABLE(of, ics43432_dt_ids);
 ^

Caused by commit

  3b7ce99748f0 ("ASoC: ics43432: Add codec driver for InvenSense ICS-43432")

Not really build tested with CONFIG_OF set, right? :-(

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-07-17  4:25 Stephen Rothwell
@ 2015-07-20  3:44 ` Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2015-07-20  3:44 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Arnaud Pouliquen

Hi all,

On Fri, 17 Jul 2015 14:25:01 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_suspend':
> sound/soc/sti/sti_uniperif.c:81:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
>   ret = pinctrl_pm_select_sleep_state(uni->dev);
>   ^
> sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_resume':
> sound/soc/sti/sti_uniperif.c:102:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
>   ret = pinctrl_pm_select_default_state(uni->dev);
>   ^
> 
> Caused by commit
> 
>   f3bd847eb0a7 ("ASoC: sti: Add uniperipheral dai driver")

ping!  I still needed this today.

> 
> I have added this fix patch for today:
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Fri, 17 Jul 2015 14:21:37 +1000
> Subject: [PATCH] ASoC: sti: included needed header file
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  sound/soc/sti/sti_uniperif.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/soc/sti/sti_uniperif.c b/sound/soc/sti/sti_uniperif.c
> index 749e6b294184..ab8d36af6dcb 100644
> --- a/sound/soc/sti/sti_uniperif.c
> +++ b/sound/soc/sti/sti_uniperif.c
> @@ -6,6 +6,7 @@
>   */
>  
>  #include <linux/module.h>
> +#include <linux/pinctrl/consumer.h>
>  
>  #include "uniperif.h"
>  
> -- 
> 2.1.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-07-17  4:25 Stephen Rothwell
  2015-07-20  3:44 ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-07-17  4:25 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Arnaud Pouliquen

Hi all,

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

sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_suspend':
sound/soc/sti/sti_uniperif.c:81:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
  ret = pinctrl_pm_select_sleep_state(uni->dev);
  ^
sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_resume':
sound/soc/sti/sti_uniperif.c:102:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
  ret = pinctrl_pm_select_default_state(uni->dev);
  ^

Caused by commit

  f3bd847eb0a7 ("ASoC: sti: Add uniperipheral dai driver")

I have added this fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 17 Jul 2015 14:21:37 +1000
Subject: [PATCH] ASoC: sti: included needed header file

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/sti/sti_uniperif.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/sti/sti_uniperif.c b/sound/soc/sti/sti_uniperif.c
index 749e6b294184..ab8d36af6dcb 100644
--- a/sound/soc/sti/sti_uniperif.c
+++ b/sound/soc/sti/sti_uniperif.c
@@ -6,6 +6,7 @@
  */
 
 #include <linux/module.h>
+#include <linux/pinctrl/consumer.h>
 
 #include "uniperif.h"
 
-- 
2.1.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-06-04  4:02 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2015-06-04  4:02 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

In file included from sound/soc/soc-dapm.c:43:0:
include/sound/soc.h:30:32: fatal error: sound/soc-topology.h: No such file or directory
 #include <sound/soc-topology.h>
                                ^

Several more of these ...

Caused by commit b2eef86fedbf ("ASoC: topology: Add topology core").
Looks like a file was missed.

I have used the sound-asoc tree from next-20150603 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-06-02  2:51 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2015-06-02  2:51 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/soc-dapm.c: In function 'dapm_kcontrol_data_alloc':
sound/soc/soc-dapm.c:387:4: error: implicit declaration of function 'snd_soc_dapm_new_control' [-Werror=implicit-function-declaration]
    data->widget = snd_soc_dapm_new_control(widget->dapm,
    ^
sound/soc/soc-dapm.c:387:17: warning: assignment makes pointer from integer without a cast
    data->widget = snd_soc_dapm_new_control(widget->dapm,
                 ^
sound/soc/soc-dapm.c: At top level:
sound/soc/soc-dapm.c:3269:1: error: conflicting types for 'snd_soc_dapm_new_control'
 snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
 ^
sound/soc/soc-dapm.c:387:19: note: previous implicit declaration of 'snd_soc_dapm_new_control' was here
    data->widget = snd_soc_dapm_new_control(widget->dapm,
                   ^

Caused by commit 02aa78abec6e ("ASoC: DAPM: Add APIs to create
individual DAPM controls").

I have used the sound-asoc tree from next-20150601 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2015-04-30  2:05 Stephen Rothwell
@ 2015-04-30  2:14 ` Bard Liao
  0 siblings, 0 replies; 238+ messages in thread
From: Bard Liao @ 2015-04-30  2:14 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

Dear All,

I will send a patch to fix it immediately.

Thanks.

Bard Liao

Computer Peripherals Business Unit
Realtek Semiconductor Corp.
886-3-578-0211 ext. 3334
bardliao@realtek.com


> -----Original Message-----
> From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
> Sent: Thursday, April 30, 2015 10:06 AM
> To: Mark Brown; Liam Girdwood
> Cc: linux-next@vger.kernel.org; linux-kernel@vger.kernel.org; Bard Liao
> Subject: linux-next: build failure after merge of the sound-asoc tree
> 
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> sound/soc/codecs/rt5645.c: In function 'rt5645_set_jack_detect':
> sound/soc/codecs/rt5645.c:2555:2: error: implicit declaration of function
> 'rt5645_irq_detection' [-Werror=implicit-function-declaration]
>   rt5645_irq_detection(rt5645);
>   ^
> sound/soc/codecs/rt5645.c: At top level:
> sound/soc/codecs/rt5645.c:2591:12: error: static declaration of
> 'rt5645_irq_detection' follows non-static declaration  static int
> rt5645_irq_detection(struct rt5645_priv *rt5645)
>             ^
> sound/soc/codecs/rt5645.c:2555:2: note: previous implicit declaration of
> 'rt5645_irq_detection' was here
>   rt5645_irq_detection(rt5645);
>   ^
> sound/soc/codecs/rt5645.c:2591:12: warning: 'rt5645_irq_detection'
> defined but not used [-Wunused-function]  static int
> rt5645_irq_detection(struct rt5645_priv *rt5645)
>             ^
> 
> Caused by commit 6e747d5311fc ("ASoC: rt5645: Adds push button
> support for rt5650").
> 
> I have used the sound-asoc tree from next-20150429 for today.
> --
> Cheers,
> Stephen Rothwell                    sfr@canb.auug.org.au
> 
> ------Please consider the environment before printing this e-mail.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-04-30  2:05 Stephen Rothwell
  2015-04-30  2:14 ` Bard Liao
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-04-30  2:05 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Bard Liao

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

Hi all,

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

sound/soc/codecs/rt5645.c: In function 'rt5645_set_jack_detect':
sound/soc/codecs/rt5645.c:2555:2: error: implicit declaration of function 'rt5645_irq_detection' [-Werror=implicit-function-declaration]
  rt5645_irq_detection(rt5645);
  ^
sound/soc/codecs/rt5645.c: At top level:
sound/soc/codecs/rt5645.c:2591:12: error: static declaration of 'rt5645_irq_detection' follows non-static declaration
 static int rt5645_irq_detection(struct rt5645_priv *rt5645)
            ^
sound/soc/codecs/rt5645.c:2555:2: note: previous implicit declaration of 'rt5645_irq_detection' was here
  rt5645_irq_detection(rt5645);
  ^
sound/soc/codecs/rt5645.c:2591:12: warning: 'rt5645_irq_detection' defined but not used [-Wunused-function]
 static int rt5645_irq_detection(struct rt5645_priv *rt5645)
            ^

Caused by commit 6e747d5311fc ("ASoC: rt5645: Adds push button support
for rt5650").

I have used the sound-asoc tree from next-20150429 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* RE: linux-next: build failure after merge of the sound-asoc tree
  2015-03-12  2:11 ` Stephen Rothwell
@ 2015-03-12  2:50   ` Bard Liao
  0 siblings, 0 replies; 238+ messages in thread
From: Bard Liao @ 2015-03-12  2:50 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

> -----Original Message-----
> From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
> Sent: Thursday, March 12, 2015 10:12 AM
> To: Mark Brown; Liam Girdwood
> Cc: linux-next@vger.kernel.org; linux-kernel@vger.kernel.org; Bard Liao
> Subject: Re: linux-next: build failure after merge of the sound-asoc tree
> 
> Hi all,
> 
> On Tue, 10 Mar 2015 13:01:20 +1100 Stephen Rothwell
> <sfr@canb.auug.org.au> wrote:
> >
> > 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;
> >                                       ^
> >

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.

> > Caused by commit 485372dc24ca ("ASoC: rt5670: Check sysclk source by
> > private data")?
> 
> Still getting this.
> 
> > 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                    sfr@canb.auug.org.au
> 
> ------Please consider the environment before printing this e-mail.

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-03-10  2:01 Stephen Rothwell
@ 2015-03-12  2:11 ` Stephen Rothwell
  2015-03-12  2:50   ` Bard Liao
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-03-12  2:11 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Bard Liao

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

Hi all,

On Tue, 10 Mar 2015 13:01:20 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> 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.

> 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                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-03-10  2:01 Stephen Rothwell
  2015-03-12  2:11 ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-03-10  2:01 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Bard Liao

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

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
 >>>>>>> v4.0-rc3
 ^

Oops :-(

I have used the cound-asoc tree from next-20150306 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-02-09  3:36 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2015-02-09  3:36 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Kenneth Westfield, Banajit Goswami

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

Hi all,

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

In file included from sound/soc/codecs/max98357a.c:15:0:
include/linux/module.h:138:40: error: '__mod_of__max98357a_device_id_device_table' aliased to undefined symbol 'max98357a_device_id'
   extern const struct type##_device_id __mod_##type##__##name##_device_table \
                                        ^
sound/soc/codecs/max98357a.c:138:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
 MODULE_DEVICE_TABLE(of, max98357a_device_id);
 ^

Caused by commit af5adf129369 ("ASoC: max98357a: Add MAX98357A codec driver").

I have added the following fix patch for today.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 9 Feb 2015 14:34:40 +1100
Subject: [PATCH] ASoC: max98357a: fix !CONFIG_OF build

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/codecs/max98357a.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c
index 98b915314d7a..ac169f9f4329 100644
--- a/sound/soc/codecs/max98357a.c
+++ b/sound/soc/codecs/max98357a.c
@@ -135,4 +135,6 @@ module_platform_driver(max98357a_platform_driver);
 MODULE_DESCRIPTION("Maxim MAX98357A Codec Driver");
 MODULE_LICENSE("GPL v2");
 MODULE_ALIAS("platform:" DRV_NAME);
+#ifdef CONFIG_OF
 MODULE_DEVICE_TABLE(of, max98357a_device_id);
+#endif
-- 
2.1.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-01-28  9:50   ` Charles Keepax
@ 2015-01-28 11:06     ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2015-01-28 11:06 UTC (permalink / raw)
  To: Charles Keepax
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel,
	Lars-Peter Clausen

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

On Wed, Jan 28, 2015 at 09:50:40AM +0000, Charles Keepax wrote:
> On Wed, Jan 28, 2015 at 09:09:35AM +0000, Charles Keepax wrote:

> > Very sorry guys my fault, not sure how that slipped through. Mark
> > do you want an incremental fix or shall I respin the two patches
> > in question?

> Ah... ok I think I just timed my patch very badly in relation to
> Lar's changes and it was building here so I failed to notice the
> error. I see you have fixed it in the merge are you happy to go
> with that solution?

It should be fixed for tomorrow I think - the zero day tester was quite
slow for some reason.

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-01-28  9:09 ` Charles Keepax
@ 2015-01-28  9:50   ` Charles Keepax
  2015-01-28 11:06     ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Charles Keepax @ 2015-01-28  9:50 UTC (permalink / raw)
  To: broonie
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel,
	Lars-Peter Clausen

On Wed, Jan 28, 2015 at 09:09:35AM +0000, Charles Keepax wrote:
> On Wed, Jan 28, 2015 at 01:00:47PM +1100, Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
> > 
> > sound/soc/codecs/arizona.c: In function 'arizona_out_ev':
> > sound/soc/codecs/arizona.c:738:57: error: 'struct snd_soc_dapm_widget' has no member named 'codec'
> >   struct arizona_priv *priv = snd_soc_codec_get_drvdata(w->codec);
> >                                                          ^
> > 
> > Caused by commit 054e1b489227 ("ASoC: arizona: Add delay for output
> > disable") interacting with commit 96da4e5b2e1d ("ASoC: Remove codec
> > field from snd_soc_dapm_widget").  It needed to be fixed up in merge
> > commit 7659e0ab1afa ("Merge remote-tracking branches
> > 'asoc/topic/ad193x', 'asoc/topic/alc5632', 'asoc/topic/arizona' and
> > 'asoc/topic/atmel' into asoc-next").
> > 
> > I have used the sound-asoc tree from next-20150127 for today.
> > -- 
> 
> Very sorry guys my fault, not sure how that slipped through. Mark
> do you want an incremental fix or shall I respin the two patches
> in question?

Ah... ok I think I just timed my patch very badly in relation to
Lar's changes and it was building here so I failed to notice the
error. I see you have fixed it in the merge are you happy to go
with that solution?

Thanks,
Charles

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2015-01-28  2:00 Stephen Rothwell
@ 2015-01-28  9:09 ` Charles Keepax
  2015-01-28  9:50   ` Charles Keepax
  0 siblings, 1 reply; 238+ messages in thread
From: Charles Keepax @ 2015-01-28  9:09 UTC (permalink / raw)
  To: broonie
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel,
	Lars-Peter Clausen

On Wed, Jan 28, 2015 at 01:00:47PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> sound/soc/codecs/arizona.c: In function 'arizona_out_ev':
> sound/soc/codecs/arizona.c:738:57: error: 'struct snd_soc_dapm_widget' has no member named 'codec'
>   struct arizona_priv *priv = snd_soc_codec_get_drvdata(w->codec);
>                                                          ^
> 
> Caused by commit 054e1b489227 ("ASoC: arizona: Add delay for output
> disable") interacting with commit 96da4e5b2e1d ("ASoC: Remove codec
> field from snd_soc_dapm_widget").  It needed to be fixed up in merge
> commit 7659e0ab1afa ("Merge remote-tracking branches
> 'asoc/topic/ad193x', 'asoc/topic/alc5632', 'asoc/topic/arizona' and
> 'asoc/topic/atmel' into asoc-next").
> 
> I have used the sound-asoc tree from next-20150127 for today.
> -- 

Very sorry guys my fault, not sure how that slipped through. Mark
do you want an incremental fix or shall I respin the two patches
in question?

Thanks,
Charles



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

* linux-next: build failure after merge of the sound-asoc tree
@ 2015-01-28  2:00 Stephen Rothwell
  2015-01-28  9:09 ` Charles Keepax
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2015-01-28  2:00 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Charles Keepax, Lars-Peter Clausen

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

Hi all,

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

sound/soc/codecs/arizona.c: In function 'arizona_out_ev':
sound/soc/codecs/arizona.c:738:57: error: 'struct snd_soc_dapm_widget' has no member named 'codec'
  struct arizona_priv *priv = snd_soc_codec_get_drvdata(w->codec);
                                                         ^

Caused by commit 054e1b489227 ("ASoC: arizona: Add delay for output
disable") interacting with commit 96da4e5b2e1d ("ASoC: Remove codec
field from snd_soc_dapm_widget").  It needed to be fixed up in merge
commit 7659e0ab1afa ("Merge remote-tracking branches
'asoc/topic/ad193x', 'asoc/topic/alc5632', 'asoc/topic/arizona' and
'asoc/topic/atmel' into asoc-next").

I have used the sound-asoc tree from next-20150127 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2014-10-21  0:33 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2014-10-21  0:33 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Oder Chiou

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

Hi all,

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

sound/soc/codecs/rt5677-spi.o: In function `rt5677_spi_driver_init':
rt5677-spi.c:(.init.text+0x0): multiple definition of `init_module'
sound/soc/codecs/rt5677.o:rt5677.c:(.init.text+0x0): first defined here
sound/soc/codecs/rt5677-spi.o: In function `rt5677_spi_driver_exit':
rt5677-spi.c:(.exit.text+0x0): multiple definition of `cleanup_module'
sound/soc/codecs/rt5677.o:rt5677.c:(.exit.text+0x0): first defined here

Probably caused by commit af48f1d08a54 ("ASoC: rt5677: Support DSP
function for VAD application").

I have used the sound-asoc tree from next-20141020 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2014-08-18  6:51 ` Sean Cross
@ 2014-08-18 14:09   ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2014-08-18 14:09 UTC (permalink / raw)
  To: Sean Cross; +Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

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

On Mon, Aug 18, 2014 at 02:51:15PM +0800, Sean Cross wrote:

> That gives it almost the exact same kernel config as the SGTL5000.

> Is this the sort of thing you can apply on your end, or would you like
> me to resubmit a v12 with just this file?  I'm afraid I don't have a PPC
> toolchain to test with.

Please submit your fix using the normal submission process.

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2014-08-17 22:30 Stephen Rothwell
@ 2014-08-18  6:51 ` Sean Cross
  2014-08-18 14:09   ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Sean Cross @ 2014-08-18  6:51 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

On 08/18/14 06:30, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (powerpc allyesconfig)
> failed like this:
>
> sound/soc/fsl/imx-pcm-fiq.c:31:21: fatal error: asm/fiq.h: No such file or directory
>  #include <asm/fiq.h>
>                      ^
>
> Caused by commit 7e7292dba215 ("ASoC: fsl: add imx-es8328 machine
> driver").  Presumably it will only build on arm?
>
> I reverted that commit for today.
The following patch should fix the problem:

diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index c0ace69..13199b5 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -237,8 +237,6 @@ config SND_SOC_IMX_ES8328
     select SND_SOC_IMX_PCM_DMA
     select SND_SOC_IMX_AUDMUX
     select SND_SOC_FSL_SSI
-    select SND_SOC_FSL_UTILS
-    select SND_SOC_IMX_PCM_FIQ
     help
       Say Y if you want to add support for the ES8328 audio codec connected
       via SSI/I2S over either SPI or I2C.

That gives it almost the exact same kernel config as the SGTL5000.

Is this the sort of thing you can apply on your end, or would you like
me to resubmit a v12 with just this file?  I'm afraid I don't have a PPC
toolchain to test with.


Sean


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 880 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2014-08-17 22:30 Stephen Rothwell
  2014-08-18  6:51 ` Sean Cross
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2014-08-17 22:30 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Sean Cross

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

Hi all,

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

sound/soc/fsl/imx-pcm-fiq.c:31:21: fatal error: asm/fiq.h: No such file or directory
 #include <asm/fiq.h>
                     ^

Caused by commit 7e7292dba215 ("ASoC: fsl: add imx-es8328 machine
driver").  Presumably it will only build on arm?

I reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2014-04-15  1:49 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2014-04-15  1:49 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Alexander Shiyan

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

Hi all,

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

sound/soc/fsl/fsl_ssi.c: In function 'fsl_ssi_probe':
sound/soc/fsl/fsl_ssi.c:1471:2: error: implicit declaration of function 'of_find_node_by_path' [-Werror=implicit-function-declaration]
  sprop = of_get_property(of_find_node_by_path("/"), "compatible", NULL);
  ^

Probably caused by commit eba9e06f0ceb ("ASoC: fsl: Separation of the
main audio options and boards").

I have used the sound-asoc tree from next-20140414 for today.
-- 
Cheers,
Stephen Rothwell <sfr@canb.auug.org.au>

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2014-04-15  1:47 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2014-04-15  1:47 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Lars-Peter Clausen

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

Hi all,

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

sound/soc/codecs/wm8997.c:248:1: error: implicit declaration of function 'SOC_VALUE' [-Werror=implicit-function-declaration]
 SOC_VALUE("ISRC1 FSL", arizona_isrc_fsl[0]),
 ^

Caused by commit e13dd8ce39a8 ("ASoC: wm8997: Replace usage deprecated
MUX/ENUM macros").

I have used the version of the sound-asoc tree from next-20140414 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2014-03-19 10:17 ` Mark Brown
@ 2014-03-19 20:30   ` Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2014-03-19 20:30 UTC (permalink / raw)
  To: Mark Brown
  Cc: Liam Girdwood, linux-next, linux-kernel, Nicolin Chen,
	Jean-Francois Moine

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

Hi Mark,

On Wed, 19 Mar 2014 10:17:01 +0000 Mark Brown <broonie@kernel.org> wrote:
>
> Sorry, it's fixed already - your fetch must've raced with my fix last
> night.

No worries, that can happen since I fetch all the trees before I start
merging.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2014-03-19  1:10 Stephen Rothwell
@ 2014-03-19 10:17 ` Mark Brown
  2014-03-19 20:30   ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2014-03-19 10:17 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, linux-next, linux-kernel, Nicolin Chen,
	Jean-Francois Moine

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

On Wed, Mar 19, 2014 at 12:10:00PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:

Sorry, it's fixed already - your fetch must've raced with my fix last
night.

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2014-03-19  1:10 Stephen Rothwell
  2014-03-19 10:17 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2014-03-19  1:10 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Nicolin Chen, Jean-Francois Moine

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

Hi all,

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

sound/soc/generic/simple-card.c: In function 'asoc_simple_card_parse_of':
sound/soc/generic/simple-card.c:188:47: error: 'struct simple_card_data' has no member named 'daifmt'
   ret = asoc_simple_card_sub_parse_of(np, priv->daifmt,
                                               ^
sound/soc/generic/simple-card.c:201:47: error: 'struct simple_card_data' has no member named 'daifmt'
   ret = asoc_simple_card_sub_parse_of(np, priv->daifmt,
                                               ^

Caused by commit 56556f333ae3 ("ASoC: simple-card: overwrite cpu_dai->fmt
with codec_dai->fmt"). daifmt was removed from struct simple_card_data in
commit c56c4d74c6f9 ("ASoC: simple-card: Simplify code").

I have used the sound-asoc tree from next-20140318 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2014-02-20  3:01 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2014-02-20  3:01 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Lars-Peter Clausen

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

Hi all,

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

ERROR: "snd_pcm_hw_constraint_mask64" [sound/soc/codecs/snd-soc-adau1977.ko] undefined!

Caused by commit 603597c9375b ("ASoC: Add ADAU1977 CODEC driver").

I have used the sound-asoc tree from next-20140219 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2013-11-29  0:54 Stephen Rothwell
@ 2013-11-29 12:36 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2013-11-29 12:36 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel, Brian Austin

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

On Fri, Nov 29, 2013 at 11:54:07AM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:

Fixed, thanks.

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2013-11-29  0:54 Stephen Rothwell
  2013-11-29 12:36 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2013-11-29  0:54 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Brian Austin

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

Hi all,

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

sound/soc/codecs/cs42l52.c: In function 'cs42l52_i2c_probe':
sound/soc/codecs/cs42l52.c:1235:10: error: 'struct cs42l52_platform_data' has no member named 'chgfreq_divisor'
     pdata->chgfreq_divisor = val32;
          ^

Caused by commit 391fc59db876 ("ASoC: cs42l52: Add devicetree support for
CS42L52").

I have used the sound-asoc tree from next-20131128 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2013-07-16  3:18 Stephen Rothwell
@ 2013-07-16 11:52 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2013-07-16 11:52 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

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

On Tue, Jul 16, 2013 at 01:18:28PM +1000, Stephen Rothwell wrote:

> Caused by commit df7e4082f47d ("ASoC: tegra: Enable COMPILE_TEST
> builds").  If you are going to do that, please test via (at least) an
> x86_64 allmodconf build.  Including asm/mach-types.h is an architecture
> dependency.

I'm *very* surprised that the zero day tester didn't report this -
normally it's much faster at allmodconfigs than anything I have
available to me but it didn't report anything except the usual problem
with s390 not being converted over to genirq.

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2013-07-16  3:18 Stephen Rothwell
  2013-07-16 11:52 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2013-07-16  3:18 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/tegra/tegra_alc5632.c:16:28: fatal error: asm/mach-types.h: No such file or directory
 #include <asm/mach-types.h>
                            ^

Caused by commit df7e4082f47d ("ASoC: tegra: Enable COMPILE_TEST
builds").  If you are going to do that, please test via (at least) an
x86_64 allmodconf build.  Including asm/mach-types.h is an architecture
dependency.

sound/soc/omap/omap-pcm.c: In function 'omap_pcm_preallocate_dma_buffer':
sound/soc/omap/omap-pcm.c:171:2: error: implicit declaration of function 'dma_alloc_writecombine' [-Werror=implicit-function-declaration]
  buf->area = dma_alloc_writecombine(pcm->card->dev, size,
  ^
sound/soc/omap/omap-pcm.c:171:12: warning: assignment makes pointer from integer without a cast [enabled by default]
  buf->area = dma_alloc_writecombine(pcm->card->dev, size,
            ^
sound/soc/omap/omap-pcm.c: In function 'omap_pcm_free_dma_buffers':
sound/soc/omap/omap-pcm.c:195:3: error: implicit declaration of function 'dma_free_writecombine' [-Werror=implicit-function-declaration]
   dma_free_writecombine(pcm->card->dev, buf->bytes,
   ^

Caused by commit 6109b2fca632 ("ASoC: omap: Enable COMPILE_TEST build for
DT platforms").  In this case, a missing include.

I have used the version of the sound-asoc tree from next-20130715 for
today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2013-06-17  3:46 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2013-06-17  3:46 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Rajeev Kumar

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

Hi all,

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

make[4]: *** No rule to make target `sound/soc/spear/spear_evb.o', needed by `sound/soc/spear/built-in.o'.  Stop.

Caused by commit e58070ee4fdf ("ASoC: Add Kconfig and Makefile to support
SPEAr audio driver").

I have used the version of the sound-asoc -tree from next-20130607 for
today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2013-03-21  2:13 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2013-03-21  2:13 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

drivers/mfd/wm5102-tables.c: In function 'wm5102_readable_register':
drivers/mfd/wm5102-tables.c:1172:7: error: 'ARIZONA_SPK_CTRL_2' undeclared (first use in this function)
drivers/mfd/wm5102-tables.c:1172:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/mfd/wm5102-tables.c:1173:7: error: 'ARIZONA_SPK_CTRL_3' undeclared (first use in this function)

Caused by commit 7b00b5ecd312 ("mfd: wm5102: Add additional speaker
control registers").  Missing change to an include file?

sound/soc/codecs/arizona.c: In function 'arizona_init_spk':
sound/soc/codecs/arizona.c:205:28: error: 'arizona' undeclared (first use in this function)
sound/soc/codecs/arizona.c:205:28: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit 6f384ccffdf0 ("ASoC: arizona: Log thermal events").

I have used the sound-asoc tree from next-20130320 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2013-02-08  0:57 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2013-02-08  0:57 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 605 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 'snd_soc_dai_digital_mute':
sound/soc/soc-core.c:3555:22: error: 'const struct snd_soc_dai_ops' has no member named 'mute_stream'
sound/soc/soc-core.c:3556:26: error: 'const struct snd_soc_dai_ops' has no member named 'mute_stream'

Caused by commit df6dc7a26e7d ("ASoC: core: Allow digital mute for
capture").

I have used the sound-asoc tree from next-20130207 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2013-02-05  1:46 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2013-02-05  1:46 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

ERROR: "regmap_async_complete" [sound/soc/codecs/snd-soc-wm-adsp.ko] undefined!

I have used the version of the sound-asoc tree from next-20130204 for
today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2013-01-23  2:17 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2013-01-23  2:17 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Thierry Reding

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

Hi all,

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

sound/soc/codecs/jz4740.c: In function 'jz4740_codec_probe':
sound/soc/codecs/jz4740.c:364:2: error: implicit declaration of function 'devm_ioremap_resource' [-Werror=implicit-function-declaration]
sound/soc/codecs/jz4740.c:364:7: warning: assignment makes pointer from integer without a cast [enabled by default]

Caused by commit bc96ea9b07ad ("ASoC: Convert to devm_ioremap_resource()").\
I think that devm_ioremap_resource() must be being introduced via a 
different tree, since there is no mention of it in linux-next (besides
what is done in this commit).  Please build test.

I have used the sound-asoc tree from next-20130122 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2013-01-14  1:04 Stephen Rothwell
@ 2013-01-14  4:55 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2013-01-14  4:55 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, linux-next, linux-kernel, Kuninori Morimoto, Greg KH

On Mon, Jan 14, 2013 at 12:04:00PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build
> (x86_64allmodconfig) failed like this:

Applied, thanks.

> As an aside, should ak4642_of_match be marked "const"?

Probably.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2013-01-14  1:04 Stephen Rothwell
  2013-01-14  4:55 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2013-01-14  1:04 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Kuninori Morimoto, Greg KH

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

Hi all,

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

sound/soc/codecs/ak4642.c:550:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__devinitconst'
sound/soc/codecs/ak4642.c:556:1: error: '__mod_of_device_table' aliased to undefined symbol 'ak4642_of_match'
sound/soc/codecs/ak4642.c:556:1: error: '__mod_of_device_table' aliased to external symbol 'ak4642_of_match'

Caused by commit bbf1453e28e4 ("ASoC: ak4642: add Device Tree support")
interacting with commit 54b956b90360 ("Remove __dev* markings from
init.h") from the driver-core.current tree.

As an aside, should ak4642_of_match be marked "const"?

I have added the following merge fix patch for today (which could be
applied to the sound-asoc tree directly - please):

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 14 Jan 2013 11:59:50 +1100
Subject: [PATCH] ASoC: ak4642: remove __devinitconst annotation

CONFIG_HOTPLUG is always true now and the __dev* macros have been removed.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 sound/soc/codecs/ak4642.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index c78794d..2d03787 100644
--- a/sound/soc/codecs/ak4642.c
+++ b/sound/soc/codecs/ak4642.c
@@ -547,7 +547,7 @@ static int ak4642_i2c_remove(struct i2c_client *client)
 	return 0;
 }
 
-static struct of_device_id ak4642_of_match[] __devinitconst = {
+static struct of_device_id ak4642_of_match[] = {
 	{ .compatible = "asahi-kasei,ak4642",	.data = &soc_codec_dev_ak4642},
 	{ .compatible = "asahi-kasei,ak4643",	.data = &soc_codec_dev_ak4642},
 	{ .compatible = "asahi-kasei,ak4648",	.data = &soc_codec_dev_ak4648},
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-10-29 20:46   ` Stephen Rothwell
@ 2012-10-30 12:11     ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2012-10-30 12:11 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

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

On Tue, Oct 30, 2012 at 07:46:31AM +1100, Stephen Rothwell wrote:

> Then you need to have a different branch being tested by Fenguang and
> friends to what you have in linux-next.   The stuff that you put into
> linux-next has to be at least build tested, so you should delay pushing
> it up to your linux-next included branch until after that is done.

Which is what I was doing, as I said I had thought I'd pushed up
something different to what was actually there.

> This case was particularly irritating because you were the developer of
> the patch that was broken which indicates that you are not even testing
> your own development work before pushing it out for others to work on top
> of.

I don't treat my own patches any differently to any other patches I push
out; in this case the issue was a mistaken fix for a merge issue cherry
picking the code out of a working branch into the public branch.  

With a huge chunk of new device enablement like this it's just not
possible to do anything except build testing on the branches in -next,
there'll be at least some cross tree issues getting in the way of
actually running anything.  At that point all the issues with time spent
doing build tests apply; as I keep saying I will tend to do some if I
have time but it can fall by the wayside and they're not the tests
anyone else does.

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-10-29 18:15 ` Mark Brown
@ 2012-10-29 20:46   ` Stephen Rothwell
  2012-10-30 12:11     ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2012-10-29 20:46 UTC (permalink / raw)
  To: Mark Brown; +Cc: Liam Girdwood, linux-next, linux-kernel

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

Hi Mark,

On Mon, 29 Oct 2012 18:15:34 +0000 Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:
>
> Honestly when I'm travelling with the automated build testing Fenguang
> and friends are doing it's actually faster to just push things up rather
> than doing testing of branches like this locally, their build farm
> usually kicks in very close to the time it takes me to do a single fresh
> build.

Then you need to have a different branch being tested by Fenguang and
friends to what you have in linux-next.   The stuff that you put into
linux-next has to be at least build tested, so you should delay pushing
it up to your linux-next included branch until after that is done.

This case was particularly irritating because you were the developer of
the patch that was broken which indicates that you are not even testing
your own development work before pushing it out for others to work on top
of.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-10-29  0:48 Stephen Rothwell
@ 2012-10-29 18:15 ` Mark Brown
  2012-10-29 20:46   ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2012-10-29 18:15 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

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

On Mon, Oct 29, 2012 at 11:48:48AM +1100, Stephen Rothwell wrote:

> Caused by commit 2882fcb3cfe6 ("ASoC: adsp: Add ADSP base support").
> Please build test this stuff - there is a typo in the Makefile.  :-(

Actually already fixed, just forgot to push up.  

Honestly when I'm travelling with the automated build testing Fenguang
and friends are doing it's actually faster to just push things up rather
than doing testing of branches like this locally, their build farm
usually kicks in very close to the time it takes me to do a single fresh
build.

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-10-29  0:48 Stephen Rothwell
  2012-10-29 18:15 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2012-10-29  0:48 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

make[4]: *** No rule to make target `sound/soc/codecs/snd-soc-wm-adsp.c', needed by `sound/soc/codecs/snd-soc-wm-adsp.o'.  Stop.

Caused by commit 2882fcb3cfe6 ("ASoC: adsp: Add ADSP base support").
Please build test this stuff - there is a typo in the Makefile.  :-(

I have used the sound-asoc tree from next-20121026 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-06-29  3:38 Stephen Rothwell
@ 2012-06-29  7:09 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2012-06-29  7:09 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Liam Girdwood, linux-next, linux-kernel, Vipin Kumar, Rajeev Kumar

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

On Fri, Jun 29, 2012 at 01:38:11PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:

Already fixed before you sent this.

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-06-29  3:38 Stephen Rothwell
  2012-06-29  7:09 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2012-06-29  3:38 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Vipin Kumar, Rajeev Kumar

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

Hi all,

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

sound/soc/codecs/spdif_receiver.o: In function `init_module':
spdif_receiver.c:(.init.text+0x0): multiple definition of `init_module'
sound/soc/codecs/spdif_transciever.o:spdif_transciever.c:(.init.text+0x0): first defined here
sound/soc/codecs/spdif_receiver.o: In function `cleanup_module':
spdif_receiver.c:(.exit.text+0x0): multiple definition of `cleanup_module'
sound/soc/codecs/spdif_transciever.o:spdif_transciever.c:(.exit.text+0x0): first defined here

Caused by commit cdf605255c2b ("ASoC: spdif_receiver: Add support for
spdif in Audio Codec").

I have used the sound-asoc tree from next-20120628 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-06-25  6:09 ` Rajeev kumar
  2012-06-25  8:06   ` viresh kumar
@ 2012-06-25  9:03   ` Mark Brown
  1 sibling, 0 replies; 238+ messages in thread
From: Mark Brown @ 2012-06-25  9:03 UTC (permalink / raw)
  To: Rajeev kumar; +Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

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

On Mon, Jun 25, 2012 at 11:39:30AM +0530, Rajeev kumar wrote:

> 3. We can pick the patches circulated by Viresh Kumar where we don't
> have HAVE_CLK defined for x86_64, then the inline routines like
> following should come into play:

This is what *should* be happening, in conjunction with architectures
doing the trivial work required to turn the clock API on now that there
is a generic clock API, but both of these things seem to be going
nowhere.  I've applied a bodge until someone decides it's worth applying
the stubs.

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-06-25  6:09 ` Rajeev kumar
@ 2012-06-25  8:06   ` viresh kumar
  2012-06-25  9:03   ` Mark Brown
  1 sibling, 0 replies; 238+ messages in thread
From: viresh kumar @ 2012-06-25  8:06 UTC (permalink / raw)
  To: Rajeev kumar, Mark Brown
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

On 25/06/12 07:09, Rajeev kumar wrote:
> 1. Protecting clk_get/clk_put* calls under macro 'CONFIG_HAVE_CLK' in
> the driver.

Not at all now.

> 2. Adding a check in Kconfig for HAVE_CLK.
> (But that will limit the compilation of this driver for only platforms
> which are ARM based/or similar).

Not actually required

> 3. We can pick the patches circulated by Viresh Kumar where we don't
> have HAVE_CLK defined for x86_64, then the inline routines like
> following should come into play:

That's the best. But probably Mark need to pull in AKPM's tree first into
sound-asoc tree. Mark?

--
Viresh

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.


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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-06-25  4:11 Stephen Rothwell
@ 2012-06-25  6:09 ` Rajeev kumar
  2012-06-25  8:06   ` viresh kumar
  2012-06-25  9:03   ` Mark Brown
  0 siblings, 2 replies; 238+ messages in thread
From: Rajeev kumar @ 2012-06-25  6:09 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel

Hi Stephen,

On 6/25/2012 9:41 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: "clk_disable" [sound/soc/dwc/designware_i2s.ko] undefined!
> ERROR: "clk_get" [sound/soc/dwc/designware_i2s.ko] undefined!
> ERROR: "clk_enable" [sound/soc/dwc/designware_i2s.ko] undefined!
> ERROR: "clk_put" [sound/soc/dwc/designware_i2s.ko] undefined!

I have checked this on ARM platform where these definitions are 
available (clk_get/clk_put* variants are usually used by ARM platforms).

To ensure compilation does not fail on x86_64 we can do either of three 
things:

1. Protecting clk_get/clk_put* calls under macro 'CONFIG_HAVE_CLK' in 
the driver.

2. Adding a check in Kconfig for HAVE_CLK.
(But that will limit the compilation of this driver for only platforms 
which are ARM based/or similar).

3. We can pick the patches circulated by Viresh Kumar where we don't 
have HAVE_CLK defined for x86_64, then the inline routines like 
following should come into play:

static inline unsigned long clk_get_rate(struct clk *clk)
{
         return 0;
}

See the patches for the same here:
http://lkml.org/lkml/2012/4/24/154

Please let me know your opinion.

Best Regards
Rajeev






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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-06-25  4:11 Stephen Rothwell
  2012-06-25  6:09 ` Rajeev kumar
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2012-06-25  4:11 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Rajeev Kumar

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

Hi all,

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

ERROR: "clk_disable" [sound/soc/dwc/designware_i2s.ko] undefined!
ERROR: "clk_get" [sound/soc/dwc/designware_i2s.ko] undefined!
ERROR: "clk_enable" [sound/soc/dwc/designware_i2s.ko] undefined!
ERROR: "clk_put" [sound/soc/dwc/designware_i2s.ko] undefined!

Caused by commit 3a9cf8efd7b6 ("ASoC: Add support for synopsys i2s
controller as per ASoC framework").  According to the Kconfig in the
patch, this driver depends on nothing ...

I have used the sound-asoc tree from next-20120622 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-06-13  2:52 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2012-06-13  2:52 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Ola Lilja

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

Hi all,

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

FATAL: modpost: GPL-incompatible module snd-soc-ab8500-codec.ko uses GPL-only symbol 'snd_soc_put_xr_sx'

Caused by commit 679d7abdc754 ("ASoC: codecs: Add AB8500 codec-driver").
I think the license string is spelt "GPL" or "GPL v2" not "GPLv2".

I have used the sound-asoc tree from next-20120608 again for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-06-12  1:59 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2012-06-12  1:59 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Ola Lilja

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

Hi all,

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

sound/soc/codecs/ab8500-codec.c:35:43: fatal error: linux/mfd/abx500/ab8500-codec.h: No such file or directory

Caused by commit 679d7abdc754 ("ASoC: codecs: Add AB8500 codec-driver").

I have used the sound-asoc tree from next-20120608 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-06-05  1:25 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2012-06-05  1:25 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, M R Swami Reddy, Vishwas A Deshpande

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

Hi all,

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

make[4]: *** No rule to make target `sound/soc/codecs/snd-soc-isabelle.c', needed by `sound/soc/codecs/snd-soc-isabelle.o'.  Stop.

Caused by commit 4567db1722aa ("ASoC: Support TI Isabelle Audio
driver").  Was this ever built?

I have used the sound-asoc tree from next-20120601 again for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-06-04  3:25 Stephen Rothwell
@ 2012-06-04  7:19 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2012-06-04  7:19 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel, Ola Lilja

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

On Mon, Jun 04, 2012 at 01:25:00PM +1000, Stephen Rothwell wrote:

> ERROR: "clk_enable" [sound/soc/snd-soc-core.ko] undefined!
> ERROR: "clk_disable" [sound/soc/snd-soc-core.ko] undefined!
> ERROR: "clk_get" [sound/soc/snd-soc-core.ko] undefined!

Oh, fail - it looks like the stubs for the clock API didn't actually
manage to get merged.  Should be fixed, anyway.

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-06-04  3:25 Stephen Rothwell
  2012-06-04  7:19 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2012-06-04  3:25 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Ola Lilja

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

Hi all,

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

ERROR: "clk_enable" [sound/soc/snd-soc-core.ko] undefined!
ERROR: "clk_disable" [sound/soc/snd-soc-core.ko] undefined!
ERROR: "clk_get" [sound/soc/snd-soc-core.ko] undefined!

Caused by commit d7e7eb91551a ("ASoC: core: Add widget
SND_SOC_DAPM_CLOCK_SUPPLY").  This build does not have CONFIG_COMMON_CLK
set.  Probably missing select or dependency.

I have used the sound-asoc tree from next-20120601 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au


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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-05-10  9:09   ` Mark Brown
@ 2012-05-10 12:12     ` Linus Walleij
  0 siblings, 0 replies; 238+ messages in thread
From: Linus Walleij @ 2012-05-10 12:12 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Ola Lilja, Liam Girdwood, linux-next, linux-kernel

On Thu, May 10, 2012 at 11:09 AM, Mark Brown
<broonie@opensource.wolfsonmicro.com> wrote:
> On Thu, May 10, 2012 at 10:30:50AM +0200, Linus Walleij wrote:
>
>>  menuconfig SND_SOC_UX500
>>         tristate "SoC Audio support for Ux500 platform"
>>         depends on SND_SOC
>> +       depends on MFD_DB8500_PRCMU
>>         help
>>                 Say Y if you want to enable ASoC-support for
>>                 any of the Ux500 platforms (e.g. U8500).
>
> I applied this (without your signoff as you didn't supply one so it'll
> show up as my patch,

Sorry, Acked-by :-)

>> But it seems it has a wider dependency on some MOP500 board
>> stuff being merged first, which is more of a problem I think, part
>> of that is pending in the Ux500 tree.
>
> If this has a dependency on a particular board the driver is badly
> broken, this is the driver for the SoC I2S controller so it should work
> with any board.
>
> That said in terms of applying the change the arch/arm stuff shouldn't
> be an issue - it was just registering devices and clocks.  The driver
> won't load until the two trees are merged but that's not an issue, it's
> not going to run anyway if we delay applying it.

Yeah let's see if it works, if it breaks again we can just pull it out
and defer it.

Yours,
Linus Walleij

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-05-10  8:35   ` Ola Lilja
@ 2012-05-10  9:11     ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2012-05-10  9:11 UTC (permalink / raw)
  To: Ola Lilja
  Cc: Linus Walleij, Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

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

On Thu, May 10, 2012 at 10:35:13AM +0200, Ola Lilja wrote:

> True! I think we should put it in the "config
> SND_SOC_UX500_PLAT_MSP_I2S", though.

That won't work, the machine drivers should be selecting the I2S
controller driver so the dependency on it will get ignored, and
presumably any ux500 system is going to have this dependency.

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-05-10  8:30 ` Linus Walleij
  2012-05-10  8:35   ` Ola Lilja
@ 2012-05-10  9:09   ` Mark Brown
  2012-05-10 12:12     ` Linus Walleij
  1 sibling, 1 reply; 238+ messages in thread
From: Mark Brown @ 2012-05-10  9:09 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Stephen Rothwell, Ola Lilja, Liam Girdwood, linux-next, linux-kernel

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

On Thu, May 10, 2012 at 10:30:50AM +0200, Linus Walleij wrote:

>  menuconfig SND_SOC_UX500
>         tristate "SoC Audio support for Ux500 platform"
>         depends on SND_SOC
> +       depends on MFD_DB8500_PRCMU
>         help
>                 Say Y if you want to enable ASoC-support for
>                 any of the Ux500 platforms (e.g. U8500).

I applied this (without your signoff as you didn't supply one so it'll
show up as my patch, I'm not sure if I'll have time to publish the
change later on today and want to get it into -next tomorrow).

> But it seems it has a wider dependency on some MOP500 board
> stuff being merged first, which is more of a problem I think, part
> of that is pending in the Ux500 tree.

If this has a dependency on a particular board the driver is badly
broken, this is the driver for the SoC I2S controller so it should work
with any board.

That said in terms of applying the change the arch/arm stuff shouldn't
be an issue - it was just registering devices and clocks.  The driver
won't load until the two trees are merged but that's not an issue, it's
not going to run anyway if we delay applying it.

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-05-10  8:30 ` Linus Walleij
@ 2012-05-10  8:35   ` Ola Lilja
  2012-05-10  9:11     ` Mark Brown
  2012-05-10  9:09   ` Mark Brown
  1 sibling, 1 reply; 238+ messages in thread
From: Ola Lilja @ 2012-05-10  8:35 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Stephen Rothwell, Mark Brown, Liam Girdwood, linux-next, linux-kernel

On 05/10/2012 10:30 AM, Linus Walleij wrote:

> On Thu, May 10, 2012 at 6:33 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
>> After merging the sound-asoc tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>> In file included from sound/soc/ux500/ux500_msp_dai.c:21:0:
>> include/linux/mfd/dbx500-prcmu.h:614:19: error: redefinition of 'prcmu_abb_read'
>> include/linux/mfd/db8500-prcmu.h:673:19: note: previous definition of 'prcmu_abb_read' was here
>> include/linux/mfd/dbx500-prcmu.h:619:19: error: redefinition of 'prcmu_abb_write'
>> include/linux/mfd/db8500-prcmu.h:678:19: note: previous definition of 'prcmu_abb_write' was here
>> include/linux/mfd/dbx500-prcmu.h:630:19: error: redefinition of 'prcmu_config_clkout'
>> include/linux/mfd/db8500-prcmu.h:643:19: note: previous definition of 'prcmu_config_clkout' was here
>> include/linux/mfd/dbx500-prcmu.h:692:20: error: redefinition of 'prcmu_ac_wake_req'
>> include/linux/mfd/db8500-prcmu.h:683:20: note: previous definition of 'prcmu_ac_wake_req' was here
>> include/linux/mfd/dbx500-prcmu.h:694:20: error: redefinition of 'prcmu_ac_sleep_req'
>> include/linux/mfd/db8500-prcmu.h:685:20: note: previous definition of 'prcmu_ac_sleep_req' was here
>> sound/soc/ux500/ux500_msp_dai.c:23:27: fatal error: mach/hardware.h: No such file or directory
>> sound/soc/ux500/ux500_msp_i2s.c:21:27: fatal error: mach/hardware.h: No such file or directory
>>
>> Possibly caused by commit 3592b7f69a54 ("ASoC: Ux500: Add MSP I2S-driver").
>>
>> I have used the version of the sound-asoc tree from next-20120508 for today.
> 
> The PRCMU driver is only available on the UX500 platforms so building
> on x86_64 does not make sense.
> 
> Ola/Mark: a simple patch like this should solve the issue I think?


True! I think we should put it in the "config SND_SOC_UX500_PLAT_MSP_I2S", though.

> 
> diff --git a/sound/soc/ux500/Kconfig b/sound/soc/ux500/Kconfig
> index 9b0ae4e..f454f06 100644
> --- a/sound/soc/ux500/Kconfig
> +++ b/sound/soc/ux500/Kconfig
> @@ -4,6 +4,7 @@
>  menuconfig SND_SOC_UX500
>         tristate "SoC Audio support for Ux500 platform"
>         depends on SND_SOC
> +       depends on MFD_DB8500_PRCMU
>         help
>                 Say Y if you want to enable ASoC-support for
>                 any of the Ux500 platforms (e.g. U8500).
> 
> 
> But it seems it has a wider dependency on some MOP500 board
> stuff being merged first, which is more of a problem I think, part
> of that is pending in the Ux500 tree.
> 
> Yours,
> Linus Walleij



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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-05-10  4:33 Stephen Rothwell
@ 2012-05-10  8:30 ` Linus Walleij
  2012-05-10  8:35   ` Ola Lilja
  2012-05-10  9:09   ` Mark Brown
  0 siblings, 2 replies; 238+ messages in thread
From: Linus Walleij @ 2012-05-10  8:30 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown, Ola Lilja
  Cc: Liam Girdwood, linux-next, linux-kernel

On Thu, May 10, 2012 at 6:33 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from sound/soc/ux500/ux500_msp_dai.c:21:0:
> include/linux/mfd/dbx500-prcmu.h:614:19: error: redefinition of 'prcmu_abb_read'
> include/linux/mfd/db8500-prcmu.h:673:19: note: previous definition of 'prcmu_abb_read' was here
> include/linux/mfd/dbx500-prcmu.h:619:19: error: redefinition of 'prcmu_abb_write'
> include/linux/mfd/db8500-prcmu.h:678:19: note: previous definition of 'prcmu_abb_write' was here
> include/linux/mfd/dbx500-prcmu.h:630:19: error: redefinition of 'prcmu_config_clkout'
> include/linux/mfd/db8500-prcmu.h:643:19: note: previous definition of 'prcmu_config_clkout' was here
> include/linux/mfd/dbx500-prcmu.h:692:20: error: redefinition of 'prcmu_ac_wake_req'
> include/linux/mfd/db8500-prcmu.h:683:20: note: previous definition of 'prcmu_ac_wake_req' was here
> include/linux/mfd/dbx500-prcmu.h:694:20: error: redefinition of 'prcmu_ac_sleep_req'
> include/linux/mfd/db8500-prcmu.h:685:20: note: previous definition of 'prcmu_ac_sleep_req' was here
> sound/soc/ux500/ux500_msp_dai.c:23:27: fatal error: mach/hardware.h: No such file or directory
> sound/soc/ux500/ux500_msp_i2s.c:21:27: fatal error: mach/hardware.h: No such file or directory
>
> Possibly caused by commit 3592b7f69a54 ("ASoC: Ux500: Add MSP I2S-driver").
>
> I have used the version of the sound-asoc tree from next-20120508 for today.

The PRCMU driver is only available on the UX500 platforms so building
on x86_64 does not make sense.

Ola/Mark: a simple patch like this should solve the issue I think?

diff --git a/sound/soc/ux500/Kconfig b/sound/soc/ux500/Kconfig
index 9b0ae4e..f454f06 100644
--- a/sound/soc/ux500/Kconfig
+++ b/sound/soc/ux500/Kconfig
@@ -4,6 +4,7 @@
 menuconfig SND_SOC_UX500
        tristate "SoC Audio support for Ux500 platform"
        depends on SND_SOC
+       depends on MFD_DB8500_PRCMU
        help
                Say Y if you want to enable ASoC-support for
                any of the Ux500 platforms (e.g. U8500).


But it seems it has a wider dependency on some MOP500 board
stuff being merged first, which is more of a problem I think, part
of that is pending in the Ux500 tree.

Yours,
Linus Walleij

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-05-10  4:33 Stephen Rothwell
  2012-05-10  8:30 ` Linus Walleij
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2012-05-10  4:33 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Ola Lilja

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

Hi all,

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

In file included from sound/soc/ux500/ux500_msp_dai.c:21:0:
include/linux/mfd/dbx500-prcmu.h:614:19: error: redefinition of 'prcmu_abb_read'
include/linux/mfd/db8500-prcmu.h:673:19: note: previous definition of 'prcmu_abb_read' was here
include/linux/mfd/dbx500-prcmu.h:619:19: error: redefinition of 'prcmu_abb_write'
include/linux/mfd/db8500-prcmu.h:678:19: note: previous definition of 'prcmu_abb_write' was here
include/linux/mfd/dbx500-prcmu.h:630:19: error: redefinition of 'prcmu_config_clkout'
include/linux/mfd/db8500-prcmu.h:643:19: note: previous definition of 'prcmu_config_clkout' was here
include/linux/mfd/dbx500-prcmu.h:692:20: error: redefinition of 'prcmu_ac_wake_req'
include/linux/mfd/db8500-prcmu.h:683:20: note: previous definition of 'prcmu_ac_wake_req' was here
include/linux/mfd/dbx500-prcmu.h:694:20: error: redefinition of 'prcmu_ac_sleep_req'
include/linux/mfd/db8500-prcmu.h:685:20: note: previous definition of 'prcmu_ac_sleep_req' was here
sound/soc/ux500/ux500_msp_dai.c:23:27: fatal error: mach/hardware.h: No such file or directory
sound/soc/ux500/ux500_msp_i2s.c:21:27: fatal error: mach/hardware.h: No such file or directory

Possibly caused by commit 3592b7f69a54 ("ASoC: Ux500: Add MSP I2S-driver").

I have used the version of the sound-asoc tree from next-20120508 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-04-03  1:26 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2012-04-03  1:26 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

ERROR: "regcache_sync_region" [sound/soc/codecs/snd-soc-wm8962.ko] undefined!

Caused by commit 26b427a701f8 ("ASoC: wm8962: Implement DSP2
configuration initialisation").  regcache_sync_region() is not exported
to modules.

I have used the sound-asoc tree from next-20120330 again for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-04-02  1:34 Stephen Rothwell
@ 2012-04-02 15:04 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2012-04-02 15:04 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel, Rhyland Klein

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

On Mon, Apr 02, 2012 at 11:34:24AM +1000, Stephen Rothwell wrote:

> Caused by commit 9dd90c5db040 ("ASoC: max98095: add jack detection").
> At least build test, please.

Should be fixed now.  My build tests are currently broken in mainline
by some perf issues (which I reported with a patch).  I should really
update to sidestep these issues.

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-04-02  1:34 Stephen Rothwell
  2012-04-02 15:04 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2012-04-02  1:34 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Rhyland Klein

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

Hi all,

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

sound/soc/codecs/max98095.c: In function 'max98095_jack_detect_enable':
sound/soc/codecs/max98095.c:2229:14: error: 'struct max98095_priv' has no member named 'jack_detect_delay'
sound/soc/codecs/max98095.c:2230:18: error: 'struct max98095_priv' has no member named 'jack_detect_delay'

Caused by commit 9dd90c5db040 ("ASoC: max98095: add jack detection").
At least build test, please.

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

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-02-06 16:50 ` Liam Girdwood
  2012-02-06 16:53   ` Mark Brown
@ 2012-02-06 22:02   ` Stephen Rothwell
  1 sibling, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2012-02-06 22:02 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: Mark Brown, linux-next, linux-kernel

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

Hi Liam,

On Mon, 06 Feb 2012 16:50:58 +0000 Liam Girdwood <lrg@ti.com> wrote:
>
> Btw, I have a new email address at TI now, any chance you could update
> your scripts. Thanks !

Done.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-02-06 16:50 ` Liam Girdwood
@ 2012-02-06 16:53   ` Mark Brown
  2012-02-06 22:02   ` Stephen Rothwell
  1 sibling, 0 replies; 238+ messages in thread
From: Mark Brown @ 2012-02-06 16:53 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: Stephen Rothwell, linux-next, linux-kernel

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

On Mon, Feb 06, 2012 at 04:50:58PM +0000, Liam Girdwood wrote:
> 
> From e3e06e913cb74a57b603a2e7ac0f08c995af4969 Mon Sep 17 00:00:00 2001
> From: Liam Girdwood <lrg@ti.com>
> Date: Mon, 6 Feb 2012 16:36:04 +0000
> Subject: [PATCH] ASoC: max9768 - Fix build and use new add control API.
> 
> Fix build breakage by using the correct API call to add kcontrols.

Applied, thnaks, but I had to hand edit the changelog since the patch
was at the bottom of another mail.

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-02-06  1:25 Stephen Rothwell
@ 2012-02-06 16:50 ` Liam Girdwood
  2012-02-06 16:53   ` Mark Brown
  2012-02-06 22:02   ` Stephen Rothwell
  0 siblings, 2 replies; 238+ messages in thread
From: Liam Girdwood @ 2012-02-06 16:50 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, linux-next, linux-kernel

Hi Stephen,

Btw, I have a new email address at TI now, any chance you could update
your scripts. Thanks !

On Mon, 2012-02-06 at 12:25 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/codecs/max9768.c: In function 'max9768_probe':
> sound/soc/codecs/max9768.c:138:3: error: implicit declaration of function 'snd_soc_add_controls' [-Werror=implicit-function-declaration]
> 
> Caused by commit 022658beab55 ("ASoC: core: Add support for DAI and
> machine kcontrols").
> 
> I have used the sound-asoc tree from next-20120203 for today.

Sorry, this should fix it.

>From e3e06e913cb74a57b603a2e7ac0f08c995af4969 Mon Sep 17 00:00:00 2001
From: Liam Girdwood <lrg@ti.com>
Date: Mon, 6 Feb 2012 16:36:04 +0000
Subject: [PATCH] ASoC: max9768 - Fix build and use new add control API.

Fix build breakage by using the correct API call to add kcontrols.

Signed-off-by: Liam Girdwood <lrg@ti.com>
---
 sound/soc/codecs/max9768.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/max9768.c b/sound/soc/codecs/max9768.c
index 79e9901..17b3ec2 100644
--- a/sound/soc/codecs/max9768.c
+++ b/sound/soc/codecs/max9768.c
@@ -135,7 +135,7 @@ static int max9768_probe(struct snd_soc_codec *codec)
 	}
 
 	if (gpio_is_valid(max9768->mute_gpio)) {
-		ret = snd_soc_add_controls(codec, max9768_mute,
+		ret = snd_soc_add_codec_controls(codec, max9768_mute,
 				ARRAY_SIZE(max9768_mute));
 		if (ret)
 			return ret;
-- 
1.7.5.4



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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-02-06  1:25 Stephen Rothwell
  2012-02-06 16:50 ` Liam Girdwood
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2012-02-06  1:25 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/codecs/max9768.c: In function 'max9768_probe':
sound/soc/codecs/max9768.c:138:3: error: implicit declaration of function 'snd_soc_add_controls' [-Werror=implicit-function-declaration]

Caused by commit 022658beab55 ("ASoC: core: Add support for DAI and
machine kcontrols").

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

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-01-23 10:47 ` Mark Brown
@ 2012-01-23 13:10   ` Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2012-01-23 13:10 UTC (permalink / raw)
  To: Mark Brown; +Cc: Liam Girdwood, linux-next, linux-kernel, Fabio Estevam

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

Hi Mark,

On Mon, 23 Jan 2012 10:47:22 +0000 Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:
>
> On Mon, Jan 23, 2012 at 12:14:22PM +1100, Stephen Rothwell wrote:
> 
> > Caused by commit 899896379670 ("ASoC: sgtl5000: Convert to table based
> > DAPM and control init").  Please at least build this stuff :-(
> 
> Mainline doesn't build (and wouldn't usefully run) for any of my
> interesting configs right now which does tend to push testing of -next
> down the priority list.  Hopefully the fixes will make it into mainline
> at some point soon.

The above remark was aimed past you at the developer involved (who has
already responded).  People should not be feeding you untested patches.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-01-23  1:14 Stephen Rothwell
  2012-01-23  2:25 ` Fabio Estevam
@ 2012-01-23 10:47 ` Mark Brown
  2012-01-23 13:10   ` Stephen Rothwell
  1 sibling, 1 reply; 238+ messages in thread
From: Mark Brown @ 2012-01-23 10:47 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel, Fabio Estevam

On Mon, Jan 23, 2012 at 12:14:22PM +1100, Stephen Rothwell wrote:

> Caused by commit 899896379670 ("ASoC: sgtl5000: Convert to table based
> DAPM and control init").  Please at least build this stuff :-(

Mainline doesn't build (and wouldn't usefully run) for any of my
interesting configs right now which does tend to push testing of -next
down the priority list.  Hopefully the fixes will make it into mainline
at some point soon.

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2012-01-23  1:14 Stephen Rothwell
@ 2012-01-23  2:25 ` Fabio Estevam
  2012-01-23 10:47 ` Mark Brown
  1 sibling, 0 replies; 238+ messages in thread
From: Fabio Estevam @ 2012-01-23  2:25 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel

On 1/22/2012 11:14 PM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/codecs/sgtl5000.c:1398:18: error: 'sgtl500_dapm_widgets' undeclared here (not in a function)
> sound/soc/codecs/sgtl5000.c:1399:22: error: negative width in bit-field '<anonymous>'
> sound/soc/codecs/sgtl5000.c:1400:17: error: 'sgtl500_dapm_routes' undeclared here (not in a function)
> sound/soc/codecs/sgtl5000.c:1401:21: error: negative width in bit-field '<anonymous>'

My apologies. I have just sent the corrected patch to the alsa-devel list.

Regards,

Fabio Estevam



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

* linux-next: build failure after merge of the sound-asoc tree
@ 2012-01-23  1:14 Stephen Rothwell
  2012-01-23  2:25 ` Fabio Estevam
  2012-01-23 10:47 ` Mark Brown
  0 siblings, 2 replies; 238+ messages in thread
From: Stephen Rothwell @ 2012-01-23  1:14 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Fabio Estevam

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

Hi all,

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

sound/soc/codecs/sgtl5000.c:1398:18: error: 'sgtl500_dapm_widgets' undeclared here (not in a function)
sound/soc/codecs/sgtl5000.c:1399:22: error: negative width in bit-field '<anonymous>'
sound/soc/codecs/sgtl5000.c:1400:17: error: 'sgtl500_dapm_routes' undeclared here (not in a function)
sound/soc/codecs/sgtl5000.c:1401:21: error: negative width in bit-field '<anonymous>'

Caused by commit 899896379670 ("ASoC: sgtl5000: Convert to table based
DAPM and control init").  Please at least build this stuff :-(

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

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2011-12-15  3:38 Stephen Rothwell
@ 2011-12-15  6:10 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2011-12-15  6:10 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

On Thu, Dec 15, 2011 at 02:38:32PM +1100, Stephen Rothwell wrote:

> Caused by commit f6a9336879ca ("ASoC: Convert wm8993 to devm_kzalloc
> ()").  I really should not be seeing this sort of build problem ...

So, the big problem with this stuff is that I can't usefully do much
with my for-next tree directly except for build test it and it's
difficult to usefully do anything with the resulting binaries especially
as the configurations which usually turn things up are generally very
slow to build.  This means I tend to mostly test on my work tree which
does contain some other code (often code which is required in order to
do an actual test) with substantially different configurations and pure
for-next tests tend to drop off the end of the day.  Doing them in
parallel tends not to work so well due to the I/O scheduler issues and
the impact on disk cache.

In this case the fix for the typo got squashed into a change that isn't
published yet by mistake.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-12-15  3:38 Stephen Rothwell
  2011-12-15  6:10 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2011-12-15  3:38 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/codecs/wm8993.c: In function 'wm8993_i2c_probe':
sound/soc/codecs/wm8993.c:1594:29: error: 'dev' undeclared (first use in this function)

Caused by commit f6a9336879ca ("ASoC: Convert wm8993 to devm_kzalloc
()").  I really should not be seeing this sort of build problem ...

I have used the sound-asoc tree from next-20111214 for today,

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-12-13  3:58 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2011-12-13  3:58 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

drivers/base/regmap/regmap.c: In function 'regmap_reinit_cache':
drivers/base/regmap/regmap.c:259:2: error: too many arguments to function 'regcache_init'
drivers/base/regmap/internal.h:109:5: note: declared here

Caused by commit bf315173359b ("regmap: Allow drivers to reinitialise the
register cache at runtime").

I have used the sound-asoc tree from next-20111212 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-10-06  2:22 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2011-10-06  2:22 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Peter Ujfalusi

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

Hi all,

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

sound/soc/codecs/wm_hubs.c: In function 'wm8993_put_dc_servo':
sound/soc/codecs/wm_hubs.c:225:2: error: implicit declaration of function 'snd_soc_put_volsw_2r' [-Werror=implicit-function-declaration]
sound/soc/codecs/wm_hubs.c: At top level:
sound/soc/codecs/wm_hubs.c:365:1: error: 'snd_soc_get_volsw_2r' undeclared here (not in a function)

Caused by commit 0f9887d11e7c ("ASoC: Consolidate use of controls with
custom get/put function").

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

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

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2011-08-11  4:06 ` Mark Brown
@ 2011-08-12  0:37   ` Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2011-08-12  0:37 UTC (permalink / raw)
  To: Mark Brown; +Cc: Liam Girdwood, linux-next, linux-kernel

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

Hi Mark,

On Thu, 11 Aug 2011 13:06:23 +0900 Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:
>
> On Thu, Aug 11, 2011 at 01:11:29PM +1000, Stephen Rothwell wrote:
> 
> > Caused by commit 40045a85df0e ("ASoC: Fix SPI driver binding for WM8987").
> 
> No it wasn't, it was there already.  Anyway, should be fixed now.

Thanks.

> Do you have any idea what you're doing to turn on this detection?  It
> really shouldn't be something that's specific to the x86 build but
> there's nothing obvious I can see that does it.

My x86_64 allmodconfig build is (effectively) done like this (I am using
gcc v4.5.2):

echo CONFIG_PROFILE_ALL_BRANCHES=n >../x86_64_allmodconfig.except
echo CONFIG_DEBUG_INFO=n >>../x86_64_allmodconfig.except
echo CONFIG_X86_DECODER_SELFTEST=n >>../x86_64_allmodconfig.except
KCONFIG_ALLCONFIG=../x86_64_allmodconfig.except \
        make O=../x86_64_allmodconfig allmodconfig
make O=../x86_64_allmodconfig -j48 -s

> Out of interest you used to carry reverts for commits when you'd
> identified them but that seems not to happen any more?

It depends on when I find a problem.  If I find a build problem
immediately after mergeing a particular tree, I reset linux-next and use
the previous version of the tree instead.  If I do not find the problem
until after I have completely merged all the trees, I may revert a
problem commit, or add a patch (is there is an interaction between two
trees).  In the latter case I will carry the revert or patch as long as
needed.

-- 
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] 238+ messages in thread

* Re: linux-next: build failure after merge of the sound-asoc tree
  2011-08-11  3:11 Stephen Rothwell
@ 2011-08-11  4:06 ` Mark Brown
  2011-08-12  0:37   ` Stephen Rothwell
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2011-08-11  4:06 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

On Thu, Aug 11, 2011 at 01:11:29PM +1000, Stephen Rothwell wrote:

> sound/soc/codecs/snd-soc-wm8750: struct spi_device_id is 40 bytes.  The last of 2 is:
> 0x77 0x6d 0x38 0x39 0x38 0x37 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
> FATAL: sound/soc/codecs/snd-soc-wm8750: struct spi_device_id is not terminated with a NULL entry!

> Caused by commit 40045a85df0e ("ASoC: Fix SPI driver binding for WM8987").

No it wasn't, it was there already.  Anyway, should be fixed now.

Do you have any idea what you're doing to turn on this detection?  It
really shouldn't be something that's specific to the x86 build but
there's nothing obvious I can see that does it.

Out of interest you used to carry reverts for commits when you'd
identified them but that seems not to happen any more?

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-08-11  3:11 Stephen Rothwell
  2011-08-11  4:06 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2011-08-11  3:11 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/codecs/snd-soc-wm8750: struct spi_device_id is 40 bytes.  The last of 2 is:
0x77 0x6d 0x38 0x39 0x38 0x37 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
FATAL: sound/soc/codecs/snd-soc-wm8750: struct spi_device_id is not terminated with a NULL entry!

Caused by commit 40045a85df0e ("ASoC: Fix SPI driver binding for WM8987").

I have used the sound-asoc tree from next-20110809 again 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] 238+ messages in thread

* Re: linux-next: build failure after merge of the sound-asoc tree
  2011-08-10  0:25 Stephen Rothwell
@ 2011-08-10  4:55 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2011-08-10  4:55 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

On Wed, Aug 10, 2011 at 10:25:25AM +1000, Stephen Rothwell wrote:

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

Should be fixed now.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-08-10  0:25 Stephen Rothwell
  2011-08-10  4:55 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2011-08-10  0:25 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/codecs/wm8750.c:785:1: error: '__mod_spi_device_table' aliased to undefined symbol 'wm8750_spi_id'
sound/soc/codecs/wm8750.c:785:1: error: '__mod_spi_device_table' aliased to undefined symbol 'wm8750_spi_id'

Caused by commit 40045a85df0e ("ASoC: Fix SPI driver binding for WM8987").

I have used the sound-asoc tree from next-20110809 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au


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

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-06-14  3:43 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2011-06-14  3:43 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/soc-dapm.c: In function 'is_connected_output_ep':
sound/soc/soc-dapm.c:596:11: error: 'struct snd_soc_dapm_path' has no member named 'weak'
sound/soc/soc-dapm.c: In function 'is_connected_input_ep':
sound/soc/soc-dapm.c:649:11: error: 'struct snd_soc_dapm_path' has no member named 'weak'
sound/soc/soc-dapm.c: In function 'dapm_supply_check_power':
sound/soc/soc-dapm.c:733:11: error: 'struct snd_soc_dapm_path' has no member named 'weak'
sound/soc/soc-dapm.c: In function 'snd_soc_dapm_weak_route':
sound/soc/soc-dapm.c:1848:8: error: 'struct snd_soc_dapm_path' has no member named 'weak'

Caused by commit bf3a9e137cf1 ("ASoC: Add weak routes for sidetone style paths").

I have used the sound-asoc from next-20110610 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] 238+ messages in thread

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-06-07  1:55 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2011-06-07  1:55 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Lars-Peter Clausen

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

Hi all,

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

sound/soc/codecs/ad1836.c:130:2: error: 'AD183X_ADC_CTRL1' undeclared here (not in a function)

Caused by commit f97d0c6d5f94 ("ASoC: AD1836: Add input gain control for
ADC2").

I have used the sound-asoc tree from next-20110606 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] 238+ messages in thread

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-04-28  1:53 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2011-04-28  1:53 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/soc-utils.o: In function `cleanup_module':
(.exit.text+0x0): multiple definition of `cleanup_module'
sound/soc/soc-core.o:(.exit.text+0x0): first defined here
sound/soc/soc-utils.o: In function `init_module':
(.init.text+0x0): multiple definition of `init_module'
sound/soc/soc-core.o:(.init.text+0x0): first defined here

Probably caused by commit 848dd8beef44 ("ASoC: Add more natural support
for no-DMA DAIs")?

I have used the sound-asoc tree from next-20110427 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] 238+ messages in thread

* Re: linux-next: build failure after merge of the sound-asoc tree
  2011-04-12  1:59 Stephen Rothwell
@ 2011-04-12  4:48 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2011-04-12  4:48 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

On Tue, Apr 12, 2011 at 11:59:54AM +1000, Stephen Rothwell wrote:

> sound/soc/codecs/wm1250-ev1.c:76: error: '__mod_i2c_device_table' aliased to undefined symbol 'wm1250_ev1__id'

Fixed now.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-04-12  1:59 Stephen Rothwell
  2011-04-12  4:48 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2011-04-12  1:59 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/codecs/wm1250-ev1.c:76: error: '__mod_i2c_device_table' aliased to undefined symbol 'wm1250_ev1__id'

Caused by commit 4bb3f43c6e3f ("ASoC: Add initial WM1250-EV1 Springbank
audio I/O module driver").

I have used the sound-asoc tree from next-20110411 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] 238+ messages in thread

* Re: linux-next: build failure after merge of the sound-asoc tree
  2011-03-07  1:56 Stephen Rothwell
@ 2011-03-07 11:47 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2011-03-07 11:47 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel, Javier Martin

On Mon, Mar 07, 2011 at 12:56:59PM +1100, Stephen Rothwell wrote:

> Caused by commit 1d471cd1261a44a3b28350bef7e5113a4609c106 ("ASoC: Add TI
> tlv320aic32x4 codec support").

> I have used the sound-asoc tree fomr next-20110304 for today.

Fixed now.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-03-07  1:56 Stephen Rothwell
  2011-03-07 11:47 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2011-03-07  1:56 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Javier Martin

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

Hi all,

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

sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_set_bias_level':
sound/soc/codecs/tlv320aic32x4.c:605: error: 'struct snd_soc_codec' has no member named 'bias_level'

Caused by commit 1d471cd1261a44a3b28350bef7e5113a4609c106 ("ASoC: Add TI
tlv320aic32x4 codec support").

I have used the sound-asoc tree fomr next-20110304 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] 238+ messages in thread

* linux-next: build failure after merge of the sound-asoc tree
@ 2011-02-15  2:33 Stephen Rothwell
  0 siblings, 0 replies; 238+ messages in thread
From: Stephen Rothwell @ 2011-02-15  2:33 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

sound/soc/codecs/wm8903.c:376: error: redefinition of 'wm8903_dcs_event'
sound/soc/codecs/wm8903.c:279: note: previous definition of 'wm8903_dcs_event' was here
sound/soc/codecs/wm8903.c:398: error: redefinition of 'wm8903_seq_notifier'
sound/soc/codecs/wm8903.c:301: note: previous definition of 'wm8903_seq_notifier' was here

It looks like commit "ASoC: Actively manage WM8903 DC servo
configuration" has been applied twice as commits c5b6a9feaeb0 and
8e715c3194e4.

I have used the version of the sound-asoc tree from next-20110214 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] 238+ messages in thread

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-12-28  2:17   ` Mark Brown
@ 2010-12-30 12:24     ` Takashi Iwai
  0 siblings, 0 replies; 238+ messages in thread
From: Takashi Iwai @ 2010-12-30 12:24 UTC (permalink / raw)
  To: Mark Brown; +Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel

At Tue, 28 Dec 2010 02:17:48 +0000,
Mark Brown wrote:
> 
> On Tue, Dec 28, 2010 at 10:48:34AM +1100, Stephen Rothwell wrote:
> 
> > Mark, I reversed the order of the trees today ...
> 
> That's expected, Takashi is on holiday at the minute so not updating his
> tree.  Merging ASoC first will mean you get the fixes in ASoC plus the
> additional stuff in the sound tree which seems more sensible.

I pulled now.  Let me know if it's still broken (maybe in the new year?)


thanks,

Takashi


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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-12-27 23:48 ` Stephen Rothwell
@ 2010-12-28  2:17   ` Mark Brown
  2010-12-30 12:24     ` Takashi Iwai
  0 siblings, 1 reply; 238+ messages in thread
From: Mark Brown @ 2010-12-28  2:17 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel, Takashi Iwai

On Tue, Dec 28, 2010 at 10:48:34AM +1100, Stephen Rothwell wrote:

> Mark, I reversed the order of the trees today ...

That's expected, Takashi is on holiday at the minute so not updating his
tree.  Merging ASoC first will mean you get the fixes in ASoC plus the
additional stuff in the sound tree which seems more sensible.

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-12-27 23:40 Stephen Rothwell
  2010-12-27 23:48 ` Stephen Rothwell
@ 2010-12-28  2:15 ` Mark Brown
  1 sibling, 0 replies; 238+ messages in thread
From: Mark Brown @ 2010-12-28  2:15 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

On Tue, Dec 28, 2010 at 10:40:24AM +1100, Stephen Rothwell wrote:

> In sound/soc/codecs/wm8962.c, the tracepoint is protected by
> CONFIG_SOUND_SOC_WM8962_MODULE, it should be CONFIG_SND_SOC_WM8962_MODULE.

Should be fixed now.

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

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-12-27 23:40 Stephen Rothwell
@ 2010-12-27 23:48 ` Stephen Rothwell
  2010-12-28  2:17   ` Mark Brown
  2010-12-28  2:15 ` Mark Brown
  1 sibling, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2010-12-27 23:48 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Takashi Iwai

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

Hi Mark, Takashi,

On Tue, 28 Dec 2010 10:40:24 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> ERROR: "__tracepoint_snd_soc_jack_irq" [sound/soc/codecs/snd-soc-wm8962.ko] undefined!
> 
> In sound/soc/codecs/wm8962.c, the tracepoint is protected by
> CONFIG_SOUND_SOC_WM8962_MODULE, it should be CONFIG_SND_SOC_WM8962_MODULE.

I also got the same error in the sound tree, so I used the version of the
sound tree that would have been in next-20101223 again today.

Mark, I reversed the order of the trees 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] 238+ messages in thread

* linux-next: build failure after merge of the sound-asoc tree
@ 2010-12-27 23:40 Stephen Rothwell
  2010-12-27 23:48 ` Stephen Rothwell
  2010-12-28  2:15 ` Mark Brown
  0 siblings, 2 replies; 238+ messages in thread
From: Stephen Rothwell @ 2010-12-27 23:40 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

ERROR: "__tracepoint_snd_soc_jack_irq" [sound/soc/codecs/snd-soc-wm8962.ko] undefined!

In sound/soc/codecs/wm8962.c, the tracepoint is protected by
CONFIG_SOUND_SOC_WM8962_MODULE, it should be CONFIG_SND_SOC_WM8962_MODULE.

I have used the sound-asoc tree from next-20101221 again 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] 238+ messages in thread

* Re: linux-next: build failure after merge of the sound-asoc tree
  2010-12-23  1:02 Stephen Rothwell
@ 2010-12-23  2:12 ` Mark Brown
  0 siblings, 0 replies; 238+ messages in thread
From: Mark Brown @ 2010-12-23  2:12 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel

On Thu, Dec 23, 2010 at 12:02:43PM +1100, Stephen Rothwell wrote:

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

> ERROR: "__tracepoint_snd_soc_jack_irq" [sound/soc/codecs/snd-soc-wm8962.ko] undefined!
> ERROR: "__tracepoint_snd_soc_jack_irq" [sound/soc/codecs/snd-soc-wm8903.ko] undefined!

> Caused by commit 1c9e9795b5e2348df619fd6010d7583dc9b8c811 ("ASoC: Add
> jack IRQ trace to 88pm860x driver").

It's not that commit - that's for a totally different driver to those
above which can't build on x86 as x86 lacks generic hardirqs.  I've
pushed up a change which ifdefs out all the tracepoints when things are
built modular, but it seems unfortunate that x86 isn't doing the right
thing here, whatever ARM is doing seems to DTRT.

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

* linux-next: build failure after merge of the sound-asoc tree
@ 2010-12-23  1:02 Stephen Rothwell
  2010-12-23  2:12 ` Mark Brown
  0 siblings, 1 reply; 238+ messages in thread
From: Stephen Rothwell @ 2010-12-23  1:02 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

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

Hi all,

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

ERROR: "__tracepoint_snd_soc_jack_irq" [sound/soc/codecs/snd-soc-wm8962.ko] undefined!
ERROR: "__tracepoint_snd_soc_jack_irq" [sound/soc/codecs/snd-soc-wm8903.ko] undefined!

Caused by commit 1c9e9795b5e2348df619fd6010d7583dc9b8c811 ("ASoC: Add
jack IRQ trace to 88pm860x driver").

I have used the sound-asoc tree from next-20101221 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] 238+ messages in thread

* linux-next: build failure after merge of the sound-asoc tree
@ 2010-12-01  0:31 Stephen Rothwell
  0 siblings, 0 replies; 238+ 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] 238+ messages in thread

end of thread, other threads:[~2023-10-20  1:43 UTC | newest]

Thread overview: 238+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-18  3:29 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
2010-10-18  3:39 ` Stephen Rothwell
2010-10-18  5:44   ` Takashi Iwai
2010-10-18  5:03 ` Mark Brown
2010-10-18 20:25 ` Peter Hsiang
2010-10-19  0:07   ` Mark Brown
2010-10-19  0:30     ` Peter Hsiang
2010-10-19  0:43       ` Mark Brown
2010-12-01  0:31 Stephen Rothwell
2010-12-23  1:02 Stephen Rothwell
2010-12-23  2:12 ` Mark Brown
2010-12-27 23:40 Stephen Rothwell
2010-12-27 23:48 ` Stephen Rothwell
2010-12-28  2:17   ` Mark Brown
2010-12-30 12:24     ` Takashi Iwai
2010-12-28  2:15 ` Mark Brown
2011-02-15  2:33 Stephen Rothwell
2011-03-07  1:56 Stephen Rothwell
2011-03-07 11:47 ` Mark Brown
2011-04-12  1:59 Stephen Rothwell
2011-04-12  4:48 ` Mark Brown
2011-04-28  1:53 Stephen Rothwell
2011-06-07  1:55 Stephen Rothwell
2011-06-14  3:43 Stephen Rothwell
2011-08-10  0:25 Stephen Rothwell
2011-08-10  4:55 ` Mark Brown
2011-08-11  3:11 Stephen Rothwell
2011-08-11  4:06 ` Mark Brown
2011-08-12  0:37   ` Stephen Rothwell
2011-10-06  2:22 Stephen Rothwell
2011-12-13  3:58 Stephen Rothwell
2011-12-15  3:38 Stephen Rothwell
2011-12-15  6:10 ` Mark Brown
2012-01-23  1:14 Stephen Rothwell
2012-01-23  2:25 ` Fabio Estevam
2012-01-23 10:47 ` Mark Brown
2012-01-23 13:10   ` Stephen Rothwell
2012-02-06  1:25 Stephen Rothwell
2012-02-06 16:50 ` Liam Girdwood
2012-02-06 16:53   ` Mark Brown
2012-02-06 22:02   ` Stephen Rothwell
2012-04-02  1:34 Stephen Rothwell
2012-04-02 15:04 ` Mark Brown
2012-04-03  1:26 Stephen Rothwell
2012-05-10  4:33 Stephen Rothwell
2012-05-10  8:30 ` Linus Walleij
2012-05-10  8:35   ` Ola Lilja
2012-05-10  9:11     ` Mark Brown
2012-05-10  9:09   ` Mark Brown
2012-05-10 12:12     ` Linus Walleij
2012-06-04  3:25 Stephen Rothwell
2012-06-04  7:19 ` Mark Brown
2012-06-05  1:25 Stephen Rothwell
2012-06-12  1:59 Stephen Rothwell
2012-06-13  2:52 Stephen Rothwell
2012-06-25  4:11 Stephen Rothwell
2012-06-25  6:09 ` Rajeev kumar
2012-06-25  8:06   ` viresh kumar
2012-06-25  9:03   ` Mark Brown
2012-06-29  3:38 Stephen Rothwell
2012-06-29  7:09 ` Mark Brown
2012-10-29  0:48 Stephen Rothwell
2012-10-29 18:15 ` Mark Brown
2012-10-29 20:46   ` Stephen Rothwell
2012-10-30 12:11     ` Mark Brown
2013-01-14  1:04 Stephen Rothwell
2013-01-14  4:55 ` Mark Brown
2013-01-23  2:17 Stephen Rothwell
2013-02-05  1:46 Stephen Rothwell
2013-02-08  0:57 Stephen Rothwell
2013-03-21  2:13 Stephen Rothwell
2013-06-17  3:46 Stephen Rothwell
2013-07-16  3:18 Stephen Rothwell
2013-07-16 11:52 ` Mark Brown
2013-11-29  0:54 Stephen Rothwell
2013-11-29 12:36 ` Mark Brown
2014-02-20  3:01 Stephen Rothwell
2014-03-19  1:10 Stephen Rothwell
2014-03-19 10:17 ` Mark Brown
2014-03-19 20:30   ` Stephen Rothwell
2014-04-15  1:47 Stephen Rothwell
2014-04-15  1:49 Stephen Rothwell
2014-08-17 22:30 Stephen Rothwell
2014-08-18  6:51 ` Sean Cross
2014-08-18 14:09   ` Mark Brown
2014-10-21  0:33 Stephen Rothwell
2015-01-28  2:00 Stephen Rothwell
2015-01-28  9:09 ` Charles Keepax
2015-01-28  9:50   ` Charles Keepax
2015-01-28 11:06     ` Mark Brown
2015-02-09  3:36 Stephen Rothwell
2015-03-10  2:01 Stephen Rothwell
2015-03-12  2:11 ` Stephen Rothwell
2015-03-12  2:50   ` Bard Liao
2015-04-30  2:05 Stephen Rothwell
2015-04-30  2:14 ` Bard Liao
2015-06-02  2:51 Stephen Rothwell
2015-06-04  4:02 Stephen Rothwell
2015-07-17  4:25 Stephen Rothwell
2015-07-20  3:44 ` Stephen Rothwell
2015-08-28  1:50 Stephen Rothwell
2015-08-28  7:40 ` Ricard Wanderlof
2015-08-28 15:45   ` Mark Brown
2015-08-31  7:04     ` Ricard Wanderlof
2015-08-31  7:48       ` Stephen Rothwell
2015-08-31  7:51         ` Stephen Rothwell
2015-08-31  8:18           ` Ricard Wanderlof
2015-09-21  1:23 Stephen Rothwell
2015-11-19  0:35 Stephen Rothwell
2015-11-19  3:02 ` Vinod Koul
2015-11-19 10:38   ` Mark Brown
2015-11-20 12:06   ` Mark Brown
2015-11-20 14:58     ` Vinod Koul
2016-04-22  2:03 Stephen Rothwell
2016-04-22  8:40 ` Philipp Zabel
2016-04-22  8:58   ` Mark Brown
2016-04-22  9:21   ` Mark Brown
2016-05-06  0:57 Stephen Rothwell
2016-05-06  9:48 ` Opensource [Adam Thomson]
2016-05-06 12:02   ` Mark Brown
2016-05-06 13:39     ` Opensource [Adam Thomson]
2016-05-11  1:07 Stephen Rothwell
2016-05-11  3:38 ` Vinod Koul
2016-08-08  0:50 Stephen Rothwell
2016-08-08  1:29 ` Kuninori Morimoto
2016-08-23  2:27 Stephen Rothwell
2016-11-08  2:47 Stephen Rothwell
2016-11-08  3:18 ` Chen-Yu Tsai
2016-11-09 14:41   ` Mark Brown
2016-11-14  0:28 Stephen Rothwell
2016-11-14  9:45 ` Richard Fitzgerald
2016-12-06  0:14 Stephen Rothwell
2016-12-06  0:41 ` Kuninori Morimoto
2016-12-06  9:37   ` Mark Brown
2016-12-06 12:55     ` Lee Jones
2016-12-06 13:22       ` Mark Brown
2017-06-08  3:37 Stephen Rothwell
2017-06-14  1:26 Stephen Rothwell
2017-06-14  2:22 ` Kuninori Morimoto
2017-06-16  2:04 Stephen Rothwell
2017-06-29  1:54 Stephen Rothwell
2017-06-29  2:01 ` Bard Liao
2017-06-30  1:51   ` Stephen Rothwell
2017-07-03  3:21     ` Stephen Rothwell
2017-08-25  7:41 Stephen Rothwell
2017-08-25  7:58 Hsin-yu Chao
2017-09-20  2:01 Stephen Rothwell
2017-09-20 11:54 ` robert.jarzmik
2017-09-20 11:56   ` Mark Brown
2017-11-29  0:50 Stephen Rothwell
2018-02-15  0:35 Stephen Rothwell
2018-02-15  2:49 ` Kuninori Morimoto
2018-02-15 15:33   ` Mark Brown
2018-02-16  0:01     ` Kuninori Morimoto
2018-02-18 23:32 Stephen Rothwell
2018-02-19  0:42 ` Kuninori Morimoto
2018-02-19  4:27 ` Agrawal, Akshu
2018-03-01 23:54 Stephen Rothwell
2018-03-02  2:49 ` John Hsu
2018-03-13  6:09 Stephen Rothwell
2018-03-13  8:52 ` Adam Thomson
2018-03-21  2:30 Stephen Rothwell
2018-03-21  2:45 ` Mark Brown
2018-03-21  5:45   ` Mukunda,Vijendar
2018-03-22  1:38     ` Mark Brown
2018-03-22  5:54       ` Mukunda,Vijendar
2018-03-27 11:27         ` Mark Brown
2018-03-27 12:45           ` Mukunda,Vijendar
2018-04-17  1:02 Stephen Rothwell
2018-04-17  1:22 ` Shuming [范書銘]
2018-04-17  2:14   ` Shuming [范書銘]
2018-04-17 23:51 Stephen Rothwell
2018-04-18 14:49 ` Mark Brown
2019-02-08  2:18 Stephen Rothwell
2019-02-08  7:37 ` Takashi Iwai
2019-02-08  8:39   ` Takashi Iwai
2019-02-08 12:53     ` Mark Brown
2019-03-26  2:33 Stephen Rothwell
2019-03-26 13:15 ` Mark Brown
2019-03-27  4:29   ` Michael Ellerman
2019-03-27 11:57     ` Mark Brown
2019-04-01 11:11       ` Michael Ellerman
2019-04-02  5:14         ` Mark Brown
2019-03-26 23:03 Stephen Rothwell
2019-04-03  0:11 Stephen Rothwell
2019-04-03  2:12 ` Baolin Wang
2019-04-03  3:35   ` Mark Brown
2019-04-03  4:27     ` Baolin Wang
2019-04-03  4:43       ` Mark Brown
2019-08-09  3:08 Stephen Rothwell
2019-08-13  3:16 ` Stephen Rothwell
2019-08-13 11:21   ` Mark Brown
2019-08-13 13:52     ` Pierre-Louis Bossart
2019-10-11  0:01 Stephen Rothwell
2019-10-15  6:46 ` Daniel Baluta
2019-10-15 11:38   ` Stephen Rothwell
2020-01-14  0:57 Stephen Rothwell
2020-01-15  1:02 Stephen Rothwell
2020-01-15  5:09 ` Marek Vasut
2020-04-21  2:11 Stephen Rothwell
2020-04-22 11:19 ` Mark Brown
2020-04-23  5:55 Stephen Rothwell
2020-04-23 11:30 ` Mark Brown
2020-04-23 12:26   ` Pierre-Louis Bossart
2020-04-23 14:26     ` Mark Brown
2020-04-23 13:04   ` Stephen Rothwell
2020-04-23 14:21     ` Mark Brown
2020-04-25 23:30       ` Michael Ellerman
2020-04-27 11:19         ` Mark Brown
2021-06-15  7:32 Stephen Rothwell
2021-06-15  9:04 ` Srinivas Kandagatla
2021-09-28  5:35 Stephen Rothwell
2021-09-28  7:17 ` Arnd Bergmann
2021-10-06  3:04 ` Stephen Rothwell
2021-10-07 14:22   ` Arnd Bergmann
2021-10-25  2:13 Stephen Rothwell
2021-10-25  7:57 ` Ajit Kumar Pandey
2022-04-26  8:30 Stephen Rothwell
2022-04-27  3:53 ` Tinghan Shen
2022-04-26  8:30 Stephen Rothwell
2022-04-26  9:00 ` Amadeusz Sławiński
2022-04-26 11:10   ` Mark Brown
2022-04-26  8:30 Stephen Rothwell
2022-04-26  9:01 ` Amadeusz Sławiński
2022-04-26 10:49   ` Stephen Rothwell
2022-07-06  1:55 Stephen Rothwell
2022-07-06 12:09 ` Mark Brown
2022-07-06 12:13   ` Amadeusz Sławiński
2022-07-06 12:20   ` Cezary Rojewski
2022-07-07  0:52   ` Stephen Rothwell
2022-07-07 10:04 Stephen Rothwell
2022-07-07 11:08 ` Mukunda,Vijendar
2022-07-07 11:42   ` Mukunda,Vijendar
2022-07-07 11:55     ` Mark Brown
2022-09-21  2:31 Stephen Rothwell
2023-02-01  0:14 Stephen Rothwell
2023-05-15  1:43 Stephen Rothwell
2023-10-20  1:42 Stephen Rothwell

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