ASoC: fsl: fsl-asoc-card: Select SND_SOC_IMX_AUDMUX
authorShengjiu Wang <shengjiu.wang@freescale.com>
Mon, 18 Aug 2014 08:38:40 +0000 (16:38 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 18 Aug 2014 14:54:04 +0000 (09:54 -0500)
commit499898d66d88cc626a2e01b02c3b819536bdf169
tree62d877d87d4a4139e22763b6cccb3914bab41d9a
parent5f37671e004eeca017b93f6b26f2425acbb8d411
ASoC: fsl: fsl-asoc-card: Select SND_SOC_IMX_AUDMUX

Building kernel with SND_SOC_IMX_AUDMUX=n leads to the following error:

   sound/built-in.o: In function `fsl_asoc_card_probe':
>> fsl-asoc-card.c:(.text+0x1467b5): undefined reference to `imx_audmux_v2_configure_port'
>> fsl-asoc-card.c:(.text+0x1467d0): undefined reference to `imx_audmux_v2_configure_port'
>> fsl-asoc-card.c:(.text+0x1467ed): undefined reference to `imx_audmux_v2_configure_port'
>> fsl-asoc-card.c:(.text+0x146807): undefined reference to `imx_audmux_v2_configure_port'

Update Kconfig to select SND_SOC_IMX_AUDMUX when SND_SOC_FSL_ASOC_CARD=y.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/Kconfig