[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201116175133.402553-1-krzk@kernel.org>
Date: Mon, 16 Nov 2020 18:51:30 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Jerome Brunet <jbrunet@...libre.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Kevin Hilman <khilman@...libre.com>,
Neil Armstrong <narmstrong@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Olivier Moysan <olivier.moysan@...com>,
Arnaud Pouliquen <arnaud.pouliquen@...com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
Peter Ujfalusi <peter.ujfalusi@...com>,
alsa-devel@...a-project.org, linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
kernel test robot <lkp@...el.com>
Subject: [PATCH 1/4] ASoC: meson: depend on COMMON_CLK to fix compile tests
The Meson SoC 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/meson/aiu-encoder-spdif.o: in function `aiu_encoder_spdif_startup':
aiu-encoder-spdif.c:(.text+0x3a0): undefined reference to `clk_set_parent'
/usr/bin/mips-linux-gnu-ld: sound/soc/meson/axg-tdm-formatter.o: in function `axg_tdm_formatter_event':
(.text+0x7ec): undefined reference to `clk_set_parent'
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
---
sound/soc/meson/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/meson/Kconfig b/sound/soc/meson/Kconfig
index 363dc3b1bbe4..dd8a05e61f58 100644
--- a/sound/soc/meson/Kconfig
+++ b/sound/soc/meson/Kconfig
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
menu "ASoC support for Amlogic platforms"
- depends on ARCH_MESON || COMPILE_TEST
+ depends on ARCH_MESON || COMPILE_TEST && COMMON_CLK
config SND_MESON_AIU
tristate "Amlogic AIU"
--
2.25.1
Powered by blists - more mailing lists