ASoC: fsl: SND_SOC_FSL_AUD2HTX should depend on ARCH_MXC
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Nov 2020 14:51:20 +0000 (15:51 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 Nov 2020 17:08:43 +0000 (17:08 +0000)
The Freescale/NXP AUDIO TO HDMI TX module is only present on NXP i.MX 8
Series SoCs.  Hence add a dependency on ARCH_MXC, to prevent asking the
user about this driver when configuring a kernel without i.MX 8 platform
support.

Fixes: 8a24c834c053ef1b ("ASoC: fsl_aud2htx: Add aud2htx module driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20201110145120.3280658-1-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/Kconfig

index a299f61..06a2d22 100644 (file)
@@ -107,6 +107,7 @@ config SND_SOC_FSL_XCVR
 
 config SND_SOC_FSL_AUD2HTX
        tristate "AUDIO TO HDMI TX module support"
+       depends on CONFIG_ARCH_MXC || COMPILE_TEST
        help
          Say Y if you want to add AUDIO TO HDMI TX support for NXP.