[OpenWrt-Devel] [PATCH 2/2] sunxi: enable audio for sun4i

Andre Heider a.heider at gmail.com
Mon Sep 23 10:00:53 EDT 2019


Enable SND_SUN4I_CODEC and SND_SUN4I_SPDIF.

Tested on cubieboard2.

Signed-off-by: Andre Heider <a.heider at gmail.com>
---
 target/linux/sunxi/config-4.19 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/target/linux/sunxi/config-4.19 b/target/linux/sunxi/config-4.19
index b1a9d7342c..a95bcc9e3f 100644
--- a/target/linux/sunxi/config-4.19
+++ b/target/linux/sunxi/config-4.19
@@ -501,13 +501,16 @@ CONFIG_SMP=y
 CONFIG_SMP_ON_UP=y
 CONFIG_SND=y
 CONFIG_SND_COMPRESS_OFFLOAD=y
+CONFIG_SND_DMAENGINE_PCM=y
 CONFIG_SND_JACK=y
 CONFIG_SND_JACK_INPUT_DEV=y
 CONFIG_SND_PCM=y
 CONFIG_SND_SOC=y
+CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
 CONFIG_SND_SOC_I2C_AND_SPI=y
+CONFIG_SND_SUN4I_CODEC=y
 # CONFIG_SND_SUN4I_I2S is not set
-# CONFIG_SND_SUN4I_SPDIF is not set
+CONFIG_SND_SUN4I_SPDIF=y
 # CONFIG_SND_SUN8I_CODEC is not set
 # CONFIG_SND_SUN8I_CODEC_ANALOG is not set
 CONFIG_SOUND=y
-- 
2.23.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list