summaryrefslogtreecommitdiff
path: root/sound/soc/stm/Kconfig
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2018-10-22 17:10:45 +0200
committerMark Brown <broonie@kernel.org>2018-10-23 10:51:44 +0100
commite6d7942ce602e99d506a7c08f1935a274645dfda (patch)
treeb7e09243768993a48e4f282b95960155f4c401a4 /sound/soc/stm/Kconfig
parent7f91e2af1a4a2c34fc2e8fb046c722e1a9c85399 (diff)
ASoC: stm32: add clock dependency for sai
Fixes: 8307b2afd386 ("ASoC: stm32: sai: set sai as mclk clock provider") Add COMMON_CLK dependency for STM32 SAI, as it is required by clock provider. Signed-off-by: Olivier Moysan <olivier.moysan@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/stm/Kconfig')
-rw-r--r--sound/soc/stm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kconfig
index 9b2681397dba..c66ffa72057e 100644
--- a/sound/soc/stm/Kconfig
+++ b/sound/soc/stm/Kconfig
@@ -3,6 +3,7 @@ menu "STMicroelectronics STM32 SOC audio support"
config SND_SOC_STM32_SAI
tristate "STM32 SAI interface (Serial Audio Interface) support"
depends on (ARCH_STM32 && OF) || COMPILE_TEST
+ depends on COMMON_CLK
depends on SND_SOC
select SND_SOC_GENERIC_DMAENGINE_PCM
select REGMAP_MMIO