Commit 9fd60615 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Mark Brown

ASoC: codecs: Rockchip on-SoC codecs should depend on ARCH_ROCKCHIP

The various Rockchip embedded audio codecs are only present on Rockchip
SoCs.  Hence add dependencies on ARCH_ROCKCHIP, to prevent asking the
user about these drivers when configuring a kernel without Rockchip SoC
support.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://msgid.link/r/6cdbaf4afcf4d2059b257f6cb3a8a61bf5e17688.1712676714.git.geert+renesas@glider.beSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9cb83ed1
...@@ -1173,6 +1173,7 @@ config SND_SOC_IDT821034 ...@@ -1173,6 +1173,7 @@ config SND_SOC_IDT821034
config SND_SOC_INNO_RK3036 config SND_SOC_INNO_RK3036
tristate "Inno codec driver for RK3036 SoC" tristate "Inno codec driver for RK3036 SoC"
depends on ARCH_ROCKCHIP || COMPILE_TEST
select REGMAP_MMIO select REGMAP_MMIO
config SND_SOC_ISABELLE config SND_SOC_ISABELLE
...@@ -1437,6 +1438,7 @@ config SND_SOC_PEB2466 ...@@ -1437,6 +1438,7 @@ config SND_SOC_PEB2466
config SND_SOC_RK3308 config SND_SOC_RK3308
tristate "Rockchip RK3308 audio CODEC" tristate "Rockchip RK3308 audio CODEC"
depends on ARM64 || COMPILE_TEST depends on ARM64 || COMPILE_TEST
depends on ARCH_ROCKCHIP || COMPILE_TEST
select REGMAP_MMIO select REGMAP_MMIO
help help
This is a device driver for the audio codec embedded in the This is a device driver for the audio codec embedded in the
...@@ -1447,6 +1449,7 @@ config SND_SOC_RK3308 ...@@ -1447,6 +1449,7 @@ config SND_SOC_RK3308
config SND_SOC_RK3328 config SND_SOC_RK3328
tristate "Rockchip RK3328 audio CODEC" tristate "Rockchip RK3328 audio CODEC"
depends on ARCH_ROCKCHIP || COMPILE_TEST
select REGMAP_MMIO select REGMAP_MMIO
config SND_SOC_RK817 config SND_SOC_RK817
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment