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

Kuninori Morimoto <[email protected]> Mon, 3 Aug 2026 01:55:29 +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 b7a91e44c2754..bb73e5402e4e0 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_SHMOBILE
+	depends on (CPU_SUBTYPE_SH7760 && SH_DMABRG) || COMPILE_TEST
 	help
 	  Enable this option for SH7760 AC97/I2S audio support.
 
-- 
2.53.0