[PATCH 2/4] ASoC: renesas: enable COMPILE_TEST for PCM SH7760

Kuninori Morimoto <[email protected]> Fri, 31 Jul 2026 02:46:39 +0000
Newsgroups org.kernel.vger.linux-sound
Message-ID <[email protected]>
PCM SH7760 is not compiled with COMPILE_TEST, and there is no defconfig
which selects it. So it is easy to be overlooked for compile test and/or
ASoC updating.

Let's enable COMPILE_TEST when it was for SuperH / SH-Mobile

Signed-off-by: Kuninori Morimoto <[email protected]>
---
 sound/soc/renesas/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/soc/renesas/Kconfig b/sound/soc/renesas/Kconfig
index 34f12a34d514c..b30de242e5dd8 100644
--- a/sound/soc/renesas/Kconfig
+++ b/sound/soc/renesas/Kconfig
@@ -4,7 +4,8 @@ menu "Renesas"
 
 config SND_SOC_PCM_SH7760
 	tristate "SoC Audio support for Renesas SH7760"
-	depends on CPU_SUBTYPE_SH7760 && SH_DMABRG
+	depends on SUPERH || ARCH_RENESAS
+	depends on (CPU_SUBTYPE_SH7760 && SH_DMABRG) || COMPILE_TEST
 	help
 	  Enable this option for SH7760 AC97/I2S audio support.
 
-- 
2.53.0