summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/Kconfig
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-11-16 18:51:31 +0100
committerMark Brown <broonie@kernel.org>2020-11-23 21:39:47 +0100
commitc3d900dc905b78788c94f3a063b769bdbad16a98 (patch)
tree87141e688c155b313b06f4f278322ef34cf33349 /sound/soc/sh/Kconfig
parentASoC: hdmi-codec: Get ELD in before reporting plugged event (diff)
downloadlinux-c3d900dc905b78788c94f3a063b769bdbad16a98.tar.xz
linux-c3d900dc905b78788c94f3a063b769bdbad16a98.zip
ASoC: sh: depend on COMMON_CLK to fix compile tests
The SH4 FSI sound drivers use SuperH clocks thus they cannot be built on platforms without proper clock support (e.g. compile test on MIPS with RALINK and SOC_RT305X): /usr/bin/mips-linux-gnu-ld: sound/soc/sh/fsi.o: in function `fsi_clk_set_rate_external': fsi.c:(.text+0x2714): undefined reference to `clk_set_parent' Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20201116175133.402553-2-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/Kconfig')
-rw-r--r--sound/soc/sh/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig
index ef8a29b9f641..346c806ba390 100644
--- a/sound/soc/sh/Kconfig
+++ b/sound/soc/sh/Kconfig
@@ -23,6 +23,7 @@ config SND_SOC_SH4_SSI
config SND_SOC_SH4_FSI
tristate "SH4 FSI support"
+ depends on SUPERH || COMMON_CLK
select SND_SIMPLE_CARD
help
This option enables FSI sound support