]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit318f39950f3a788276a4a38387d177fbd4e98b3b
tree5693d5ee5f35b2f0d9eacece8170cc6267bb67a7
parent80df8e7dc2a3114390ac579d831e30d67bdddc94
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