Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1726573

Re: [PATCH] ASoC: improve RT5514 dependencies

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: improve RT5514 dependencies
Date 2017-09-05 11:10 +0200
Message-ID <umi1P-Ly-3@gated-at.bofh.it> (permalink)
References <u9ep5-3Xg-29@gated-at.bofh.it> <u9f1M-4rg-7@gated-at.bofh.it> <u9Glj-55w-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 1, 2017 at 4:21 PM, Mark Brown <broonie@kernel.org> wrote:
> On Mon, Jul 31, 2017 at 11:15:57AM +0200, Takashi Iwai wrote:
>
>> IMO, flipping the dependency looks saner to me.  The SPI function call
>> is a kind of add-on, after all.
>
> Yes, that's definitely the intention of the code.

I just ran into the same problem again on randconfig testing, after
the bug had been
gone before my vacation:

    sound/soc/codecs/rt5514.o: In function `rt5514_dsp_voice_wake_up_put':
    rt5514.c:(.text+0x2068): undefined reference to `rt5514_spi_burst_write'
    rt5514.c:(.text+0x20c8): undefined reference to `rt5514_spi_burst_write'

Is anyone looking into this? My original patch
(https://patchwork.kernel.org/patch/9871255/) still fixes it but needs a
minor change to apply now. When I last looked into changing
the dependency in the code, I couldn't quite figure out how to
do it there.

         Arnd

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] ASoC: improve RT5514 dependencies Arnd Bergmann <arnd@arndb.de> - 2017-09-05 11:10 +0200

csiph-web