All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: mediatek: SND_SOC_MT8195 should depend on ARCH_MEDIATEK
@ 2021-08-31 13:18 ` Geert Uytterhoeven
  0 siblings, 0 replies; 16+ messages in thread
From: Geert Uytterhoeven @ 2021-08-31 13:18 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Trevor Wu
  Cc: Matthias Brugger, Jaroslav Kysela, Takashi Iwai, alsa-devel,
	linux-arm-kernel, linux-mediatek, linux-kernel,
	Geert Uytterhoeven

The Mediatek MT8195 sound hardware is only present on Mediatek MT8195
SoCs.  Hence add a dependency on ARCH_MEDIATEK, to prevent asking the
user about this driver when configuring a kernel without Mediatek SoC
support.

Fixes: 6746cc858259985a ("ASoC: mediatek: mt8195: add platform driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 sound/soc/mediatek/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig
index cf567a89f421b4c0..c8c815f599da90bf 100644
--- a/sound/soc/mediatek/Kconfig
+++ b/sound/soc/mediatek/Kconfig
@@ -187,6 +187,7 @@ config SND_SOC_MT8192_MT6359_RT1015_RT5682
 
 config SND_SOC_MT8195
 	tristate "ASoC support for Mediatek MT8195 chip"
+	depends on ARCH_MEDIATEK || COMPILE_TEST
 	select SND_SOC_MEDIATEK
 	help
 	  This adds ASoC platform driver support for Mediatek MT8195 chip
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-09-01 18:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31 13:18 [PATCH] ASoC: mediatek: SND_SOC_MT8195 should depend on ARCH_MEDIATEK Geert Uytterhoeven
2021-08-31 13:18 ` Geert Uytterhoeven
2021-08-31 13:18 ` Geert Uytterhoeven
2021-08-31 13:18 ` Geert Uytterhoeven
2021-09-01  3:48 ` Trevor Wu
2021-09-01  3:48   ` Trevor Wu
2021-09-01  3:48   ` Trevor Wu
2021-09-01  3:48   ` Trevor Wu
2021-09-01  7:14   ` Geert Uytterhoeven
2021-09-01  7:14     ` Geert Uytterhoeven
2021-09-01  7:14     ` Geert Uytterhoeven
2021-09-01  7:14     ` Geert Uytterhoeven
2021-09-01 18:14 ` Mark Brown
2021-09-01 18:14   ` Mark Brown
2021-09-01 18:14   ` Mark Brown
2021-09-01 18:14   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.