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


Groups > linux.kernel > #1515640

[PATCH] ASoC: fsl: fix fsl_spdif.c build errors

From Randy Dunlap <rdunlap@infradead.org>
Newsgroups linux.kernel
Subject [PATCH] ASoC: fsl: fix fsl_spdif.c build errors
Date 2016-11-06 00:20 +0100
Message-ID <sAipI-5UX-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Randy Dunlap <rdunlap@infradead.org>

Fix build errors in sound/soc/fsl/fsl_spdif.c by selecting BITREVERSE.
Fixes these build errors:

sound/built-in.o: In function `spdif_write_channel_status':
fsl_spdif.c:(.text+0xbe39d): undefined reference to `byte_rev_table'
fsl_spdif.c:(.text+0xbe3a8): undefined reference to `byte_rev_table'
fsl_spdif.c:(.text+0xbe3be): undefined reference to `byte_rev_table'
fsl_spdif.c:(.text+0xbe3d8): undefined reference to `byte_rev_table'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Applies-to: all 3.x, all 4.x
---
 sound/soc/fsl/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- lnx-49-rc3.orig/sound/soc/fsl/Kconfig
+++ lnx-49-rc3/sound/soc/fsl/Kconfig
@@ -40,6 +40,7 @@ config SND_SOC_FSL_SPDIF
 	select REGMAP_MMIO
 	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
 	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
+	select BITREVERSE
 	help
 	  Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
 	  support for the Freescale CPUs.

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


Thread

[PATCH] ASoC: fsl: fix fsl_spdif.c build errors Randy Dunlap <rdunlap@infradead.org> - 2016-11-06 00:20 +0100
  Re: [alsa-devel] [PATCH] ASoC: fsl: fix fsl_spdif.c build errors Fabio Estevam <festevam@gmail.com> - 2016-11-06 20:50 +0100
    Re: [alsa-devel] [PATCH] ASoC: fsl: fix fsl_spdif.c build errors Fabio Estevam <festevam@gmail.com> - 2016-11-06 23:10 +0100
    Re: [alsa-devel] [PATCH] ASoC: fsl: fix fsl_spdif.c build errors Randy Dunlap <rdunlap@infradead.org> - 2016-11-06 23:20 +0100
      Re: [alsa-devel] [PATCH] ASoC: fsl: fix fsl_spdif.c build errors Kees Cook <keescook@chromium.org> - 2016-11-08 22:40 +0100
  Applied "ASoC: fsl: fix fsl_spdif.c build errors" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-11-09 16:00 +0100

csiph-web