summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/Kconfig
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@bootlin.com>2024-04-03 13:03:19 +0200
committerMark Brown <broonie@kernel.org>2024-04-03 12:46:58 +0100
commit03246ade4646653bbc98fa6fa506891a51983259 (patch)
tree614cbe34acb53dd0e5dbf5c6c7e4a95c680feb89 /sound/soc/codecs/Kconfig
parent38d5387b7660476fd7e8e07d16ee436819e3544d (diff)
downloadlwn-03246ade4646653bbc98fa6fa506891a51983259.tar.gz
lwn-03246ade4646653bbc98fa6fa506891a51983259.zip
ASoC: codecs: rk3308: depend on ARM64 || COMPILE_TEST
This codec is only known to exist in the RK3308 ARM64 SoC, so depend on it except for compile test cases. Note that the driver won't probe without CONFIG_OF, but ARM64 selects OF already so it is not needed. Suggested-by: Mark Brown <broonie@kernel.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://msgid.link/r/20240403-rk3308-audio-codec-fix-warning-v2-2-816bae4c1dc5@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r--sound/soc/codecs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 1752814fffdd..4e47bb6850aa 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1436,6 +1436,7 @@ config SND_SOC_PEB2466
config SND_SOC_RK3308
tristate "Rockchip RK3308 audio CODEC"
+ depends on ARM64 || COMPILE_TEST
select REGMAP_MMIO
help
This is a device driver for the audio codec embedded in the