ASoC: ti: depend on COMMON_CLK to fix compile tests
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 16 Nov 2020 17:51:33 +0000 (18:51 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Nov 2020 20:39:49 +0000 (20:39 +0000)
commitb3cf78e0dacb7fba50d0c1eb9dfa6f92d31529e2
tree5693d5ee5f35b2f0d9eacece8170cc6267bb67a7
parent82ceffce96336ee9863f3dfde63aef5748ca4ab1
ASoC: ti: depend on COMMON_CLK to fix compile tests

The TI/OMAP sound 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/ti/davinci-mcasp.o:davinci-mcasp.c:(.text+0x1c64): more undefined references to `clk_set_parent' follow
    /usr/bin/mips-linux-gnu-ld: sound/soc/ti/omap-dmic.o: in function `omap_dmic_set_dai_sysclk':
    omap-dmic.c:(.text+0xa5c): undefined reference to `clk_get_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-4-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/Kconfig