android_kernel_samsung_a7y1.../sound/soc
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
..
adi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atmel A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
au1x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bcm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blackfin A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cirrus A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
codecs ASoC: RT5677-SPI: Disable 16Bit SPI Transfers 2020-04-06 18:12:26 +02:00
davinci A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl ASoC: imx: fix fiq dependencies 2020-04-06 18:15:37 +02:00
generic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel ASoC: Intel: avoid Oops if DMA setup fails 2020-04-06 16:43:16 +02:00
jz4740 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kirkwood A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mediatek A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mxs A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nuc900 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
omap A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pxa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
qcom A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rockchip A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
samsung A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sirf A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spear A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sti A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sunxi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tegra A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
txx9 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ux500 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xtensa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zte A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-ac97.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-cache.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-compress.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-dapm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-devres.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-generic-dmaengine-pcm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-io.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-jack.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-ops.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-pcm.c ASoC:soc-pcm:fix a codec fixup issue in TDM case 2020-04-06 16:42:51 +02:00
soc-topology.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-utils.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30