]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sh: depend on COMMON_CLK to fix compile tests
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 16 Nov 2020 17:51:31 +0000 (18:51 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Nov 2020 20:39:47 +0000 (20:39 +0000)
commitba591216c12029043415187fcdeb70dca890a9ad
tree87141e688c155b313b06f4f278322ef34cf33349
parent63c082573f4df2d825cee51dab349f7a3388c8e7
ASoC: sh: depend on COMMON_CLK to fix compile tests

The SH4 FSI sound drivers use SuperH clocks thus they cannot be built on
platforms without proper clock support (e.g. compile test on MIPS with
RALINK and SOC_RT305X):

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