ASoC: codecs: Kconfig: Show knob, and depend on MIPS || COMPILE_TEST
authorPaul Cercueil <paul@crapouillou.net>
Thu, 7 Feb 2019 13:31:42 +0000 (10:31 -0300)
committerMark Brown <broonie@kernel.org>
Thu, 7 Feb 2019 14:38:39 +0000 (14:38 +0000)
Show the knob to enable or disable the jz4740-codec driver, add a
proper description, and add a dependency on MIPS || COMPILE_TEST, as
this driver is only useful on MIPS.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index fec894c725d35e05108fd7d65c5e58f45d015ef6..e6ce18c21b9871d24ef373c57c73745c21dc232e 100644 (file)
@@ -579,8 +579,15 @@ config SND_SOC_CX20442
        depends on TTY
 
 config SND_SOC_JZ4740_CODEC
+       depends on MIPS || COMPILE_TEST
        select REGMAP_MMIO
-       tristate
+       tristate "Ingenic JZ4740 internal CODEC"
+       help
+         Enable support for the internal CODEC found in the JZ4740 SoC
+         from Ingenic.
+
+         This driver can also be built as a module. If so, the module
+         will be called snd-soc-jz4740-codec.
 
 config SND_SOC_JZ4725B_CODEC
        depends on MIPS || COMPILE_TEST