android_kernel_samsung_a7y1.../sound/soc/fsl
Arnd Bergmann 230fdfba89 ASoC: imx: fix fiq dependencies
[ Upstream commit ea751227c813ab833609afecfeedaf0aa26f327e ]

During randconfig builds, I occasionally run into an invalid configuration
of the freescale FIQ sound support:

WARNING: unmet direct dependencies detected for SND_SOC_IMX_PCM_FIQ
  Depends on [m]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_IMX_SOC [=m]
  Selected by [y]:
  - SND_SOC_FSL_SPDIF [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_IMX_SOC [=m]!=n && (MXC_TZIC [=n] || MXC_AVIC [=y])

sound/soc/fsl/imx-ssi.o: In function `imx_ssi_remove':
imx-ssi.c:(.text+0x28): undefined reference to `imx_pcm_fiq_exit'
sound/soc/fsl/imx-ssi.o: In function `imx_ssi_probe':
imx-ssi.c:(.text+0xa64): undefined reference to `imx_pcm_fiq_init'

The Kconfig warning is a result of the symbol being defined inside of
the "if SND_IMX_SOC" block, and is otherwise harmless. The link error
is more tricky and happens with SND_SOC_IMX_SSI=y, which may or may not
imply FIQ support. However, if SND_SOC_FSL_SSI is set to =m at the same
time, that selects SND_SOC_IMX_PCM_FIQ as a loadable module dependency,
which then causes a link failure from imx-ssi.

The solution here is to make SND_SOC_IMX_PCM_FIQ built-in whenever
one of its potential users is built-in.

Fixes: ff40260f79dc ("ASoC: fsl: refine DMA/FIQ dependencies")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 18:15:37 +02:00
..
efika-audio-fabric.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
eukrea-tlv320.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_asrc_dma.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_asrc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_asrc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_dma.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_dma.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_esai.c ASoC: fsl_esai: fix channel swap issue when stream starts 2020-04-06 15:08:19 +02:00
fsl_esai.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_sai.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_sai.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_spdif.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_spdif.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_ssi_dbg.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_ssi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_ssi.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_utils.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl_utils.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl-asoc-card.c ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe 2020-04-06 14:51:48 +02:00
imx-audmux.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-audmux.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-es8328.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-mc13783.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-pcm-dma.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-pcm-fiq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-pcm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-sgtl5000.c SoC: imx-sgtl5000: add missing put_device() 2020-04-06 14:50:59 +02:00
imx-spdif.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-ssi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-ssi.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx-wm8962.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig ASoC: imx: fix fiq dependencies 2020-04-06 18:15:37 +02:00
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpc5200_dma.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpc5200_dma.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpc5200_psc_ac97.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpc5200_psc_ac97.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpc5200_psc_i2s.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpc8610_hpcd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mx27vis-aic32x4.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
p1022_ds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
p1022_rdk.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm030-audio-fabric.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
phycore-ac97.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm1133-ev1.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30