1
0
Fork 0
alistair23-linux/sound/soc/meson
Jerome Brunet efb57c87d8 ASoC: meson: fix COMPILE_TEST error
[ Upstream commit 299fe9937d ]

When compiled with CONFIG_HAVE_CLK, the kernel need to get provider for the
clock API. This is usually selected by the platform and the sound drivers
should not really care about this. However COMPILE_TEST is special and the
platform required may not have been selected, leading to this type of
error:

> aiu-encoder-spdif.c:(.text+0x3a0): undefined reference to `clk_set_parent'

Since we need a sane provider of the API with COMPILE_TEST, depends on
COMMON_CLK.

Fixes: 6dc4fa179f ("ASoC: meson: add axg fifo base driver")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20201116172423.546855-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:51:08 +01:00
..
Kconfig ASoC: meson: fix COMPILE_TEST error 2020-12-30 11:51:08 +01:00
Makefile ASoC: meson: add g12a tohdmitx control 2019-05-16 12:13:35 +01:00
axg-card.c ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback 2020-08-19 08:16:13 +02:00
axg-fifo.c ASoC: meson: add missing free_irq() in error path 2020-06-24 17:50:19 +02:00
axg-fifo.h ASoC: meson: axg-fifo: fix fifo threshold setup 2020-02-11 04:35:44 -08:00
axg-frddr.c ASoC: meson: axg-fifo: fix fifo threshold setup 2020-02-11 04:35:44 -08:00
axg-pdm.c ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:07:29 +01:00
axg-spdifin.c ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:07:48 +01:00
axg-spdifout.c ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:08:07 +01:00
axg-tdm-formatter.c ASoC: meson: axg-tdm-formatters: fix sclk inversion 2020-08-19 08:16:18 +02:00
axg-tdm-formatter.h ASoC: meson: axg-tdm-formatters: fix sclk inversion 2020-08-19 08:16:18 +02:00
axg-tdm-interface.c ASoC: meson: axg-tdm-interface: fix link fmt setup 2020-08-19 08:16:18 +02:00
axg-tdm.h ASoC: meson: axg-tdm: fix sample clock inversion 2019-06-13 19:44:02 +01:00
axg-tdmin.c ASoC: meson: axg-tdm-formatters: fix sclk inversion 2020-08-19 08:16:18 +02:00
axg-tdmout.c ASoC: meson: axg-tdm-formatters: fix sclk inversion 2020-08-19 08:16:18 +02:00
axg-toddr.c ASoC: meson: axg-toddr: fix channel order on g12 platforms 2020-09-23 12:40:39 +02:00
g12a-tohdmitx.c ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:12:34 +01:00