ASoC: stm: depend on COMMON_CLK to fix compile tests
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 16 Nov 2020 17:51:32 +0000 (18:51 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Nov 2020 20:39:48 +0000 (20:39 +0000)
commit82ceffce96336ee9863f3dfde63aef5748ca4ab1
tree1539d6d0c61dc72133e5c0ea07d10d6a8457a09e
parentc3d900dc905b78788c94f3a063b769bdbad16a98
ASoC: stm: depend on COMMON_CLK to fix compile tests

The STM32 I2S drivers use Common Clock Framework thus they cannot be
built on platforms without it (e.g. compile test on MIPS with RALINK and
SOC_RT305X):

    /usr/bin/mips-linux-gnu-ld: sound/soc/stm/stm32_i2s.o: in function `stm32_i2s_hw_params':
    stm32_i2s.c:(.text+0x1870): 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-3-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/Kconfig