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


Groups > linux.kernel > #1705647

Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing
Date 2017-08-07 17:40 +0200
Message-ID <ubSim-1Ys-19@gated-at.bofh.it> (permalink)
References <ubNLH-74u-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 7, 2017 at 12:40 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> When the audio driver selects CONFIG_PXA_SSP to be a loadable
> module on a platform other than PXA, and the PXA SPI driver
> is built-in, we get a link error in the SPI driver:
>
> drivers/spi/spi-pxa2xx.o: In function `pxa2xx_spi_remove':
> spi-pxa2xx.c:(.text+0x5f0): undefined reference to `pxa_ssp_free'
> drivers/spi/spi-pxa2xx.o: In function `pxa2xx_spi_probe':
> spi-pxa2xx.c:(.text+0xeac): undefined reference to `pxa_ssp_request'
> spi-pxa2xx.c:(.text+0x1468): undefined reference to `pxa_ssp_free'
> spi-pxa2xx.c:(.text+0x15bc): undefined reference to `pxa_ssp_free'
>
> Fixes: 73d7ee2e831f ("ASoC: pxa: add COMPILE_TEST on SND_PXA2XX_SOC")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

While trying to write up a better changelog, I found that I had run into this
before and attempted a different fix, see
https://patchwork.kernel.org/patch/8879921/

The commit I referred to in "Fixes:" did not introduce a new problem at
all, but it appears to have made it more likely to run into this situation.

Sending a third patch now, again different.

Mark, let me know if you want something else instead.

       Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing Arnd Bergmann <arnd@arndb.de> - 2017-08-07 12:50 +0200
  Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing Mark Brown <broonie@kernel.org> - 2017-08-07 13:30 +0200
    Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing Arnd Bergmann <arnd@arndb.de> - 2017-08-07 13:40 +0200
      Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing Mark Brown <broonie@kernel.org> - 2017-08-07 13:50 +0200
        Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing Arnd Bergmann <arnd@arndb.de> - 2017-08-07 14:00 +0200
          Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing Mark Brown <broonie@kernel.org> - 2017-08-07 14:10 +0200
  Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing Arnd Bergmann <arnd@arndb.de> - 2017-08-07 17:40 +0200

csiph-web