Skip to content

Commit

Permalink
ASoC: codec/ingenic: Depend on MACH_INGENIC
Browse files Browse the repository at this point in the history
No need to show the options to build Ingenic-specific drivers on all
MIPS kernel configurations if Ingenic SoCs support is not enabled.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20210123140958.12895-2-paul@crapouillou.net
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Paul Cercueil authored and Mark Brown committed Feb 8, 2021
1 parent 017131e commit bad929b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ config SND_SOC_CX2072X
Enable support for Conexant CX20721 and CX20723 codec chips.

config SND_SOC_JZ4740_CODEC
depends on MIPS || COMPILE_TEST
depends on MACH_INGENIC || COMPILE_TEST
depends on OF
select REGMAP_MMIO
tristate "Ingenic JZ4740 internal CODEC"
Expand All @@ -724,7 +724,7 @@ config SND_SOC_JZ4740_CODEC
will be called snd-soc-jz4740-codec.

config SND_SOC_JZ4725B_CODEC
depends on MIPS || COMPILE_TEST
depends on MACH_INGENIC || COMPILE_TEST
depends on OF
select REGMAP
tristate "Ingenic JZ4725B internal CODEC"
Expand All @@ -736,7 +736,7 @@ config SND_SOC_JZ4725B_CODEC
will be called snd-soc-jz4725b-codec.

config SND_SOC_JZ4770_CODEC
depends on MIPS || COMPILE_TEST
depends on MACH_INGENIC || COMPILE_TEST
depends on OF
select REGMAP
tristate "Ingenic JZ4770 internal CODEC"
Expand Down

0 comments on commit bad929b

Please sign in to comment.