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

From: Baolin Wang
Date: Tue Apr 02 2019 - 22:13:03 EST


Hi,

On Wed, 3 Apr 2019 at 08:11, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> 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