[RESEND PATCH] ASoC: rt5640: Make codec selectable

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sat Jun 12 22:06:50 CEST 2021


The Realtek rt5640 codec driver can be used with the generic sound card
drivers, so it should be selectable. For example, with the addition
of #sound-dai-cells = <0> property in DT, it can be used with simple and
graph card drivers.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
---
Re-sent because my last mail did not make it to the list

This will be used in arch/arm/boot/dts/meson8b-ec100.dts


 sound/soc/codecs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 2a7b3e363069..96fc0144f9fc 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1180,7 +1180,7 @@ config SND_SOC_RT5631
 	depends on I2C
 
 config SND_SOC_RT5640
-	tristate
+	tristate "Realtek RT5640/RT5639 Codec"
 	depends on I2C
 
 config SND_SOC_RT5645
-- 
2.31.1



More information about the Alsa-devel mailing list