2017-08-25 07:41:15

by Stephen Rothwell

[permalink] [raw]
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
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


2017-08-25 07:59:00

by Hsin-Yu Chao

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the sound-asoc tree

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 <[email protected]> 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