ASoC: stm32: add clock dependency for sai
authorOlivier Moysan <olivier.moysan@st.com>
Mon, 22 Oct 2018 15:10:45 +0000 (17:10 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 23 Oct 2018 09:51:44 +0000 (10:51 +0100)
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>
sound/soc/stm/Kconfig

index 9b2681397dba72edfb283469c1a181961068f85c..c66ffa72057e2db984280c45dae4007928b48bbb 100644 (file)
@@ -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