mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: img: Imagination Technologies sound should depend on MIPS
@ 2025-07-08 15:47 Geert Uytterhoeven
  2025-07-09 11:36 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2025-07-08 15:47 UTC (permalink / raw)
  To: Kuninori Morimoto, Mark Brown, Rahul Bedarkar, Liam Girdwood,
	Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-mips, linux-kernel, Geert Uytterhoeven

Before, all Imagination sound symbols were gated by the SND_SOC_IMG
symbol, offering the user a simple option to hide them all.  After the
removal of this gate symbol, all symbols are exposed to the user, even
when configuring a kernel for a non-Imagination platform.
Fix this by adding a dependency on MIPS, to prevent asking the user
about these drivers when configuring a kernel for a different
architecture.

Fixes: b13f7eef9ff82e01 ("ASoC: img: Standardize ASoC menu")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 sound/soc/img/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/img/Kconfig b/sound/soc/img/Kconfig
index 9a4cba6fdb505d69..22b75a8144a18170 100644
--- a/sound/soc/img/Kconfig
+++ b/sound/soc/img/Kconfig
@@ -1,5 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menu "Imagination Technologies"
+	depends on MIPS || COMPILE_TEST
 
 config SND_SOC_IMG_I2S_IN
 	tristate "Imagination I2S Input Device Driver"
-- 
2.43.0


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

end of thread, other threads:[~2025-07-09 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-08 15:47 [PATCH] ASoC: img: Imagination Technologies sound should depend on MIPS Geert Uytterhoeven
2025-07-09 11:36 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®