Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 5 messages Apr 3, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi,

Quoted 6 lines · Stephen Rothwell

Hi all,

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

Quoted 8 lines

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.

Signature · 2 lines
Baolin Wang
Best Regards
maintainer
#2 lore raw
Quoted 6 lines · Baolin Wang

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?

#3 lore raw
Quoted 5 lines · Mark Brown
Quoted 1 line · Baolin Wang

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

Quoted 7 lines
Quoted 4 lines

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.

Signature · 2 lines
Baolin Wang
Best Regards
maintainer
#4 lore raw
Quoted 7 lines · Baolin Wang
Quoted 2 lines · Mark Brown

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.