summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/aarch64/kernel/rockpi4-plus5
-rw-r--r--target/linux/config/Config.in.audio14
2 files changed, 13 insertions, 6 deletions
diff --git a/target/aarch64/kernel/rockpi4-plus b/target/aarch64/kernel/rockpi4-plus
index 44efa2ecb..13a3fe712 100644
--- a/target/aarch64/kernel/rockpi4-plus
+++ b/target/aarch64/kernel/rockpi4-plus
@@ -983,8 +983,3 @@ CONFIG_ROCKCHIP_EFUSE=y
CONFIG_SERIAL_DEV_BUS=y
CONFIG_SERIAL_DEV_CTRL_TTYPORT=y
-
-CONFIG_SND_DESIGNWARE_I2S=m
-CONFIG_SND_SOC_ROCKCHIP=m
-CONFIG_SND_SOC_ROCKCHIP_I2S=m
-
diff --git a/target/linux/config/Config.in.audio b/target/linux/config/Config.in.audio
index 83964f900..644f0d364 100644
--- a/target/linux/config/Config.in.audio
+++ b/target/linux/config/Config.in.audio
@@ -109,6 +109,15 @@ config ADK_LINUX_KERNEL_SND_SOC_PCM512x_SPI
select ADK_LINUX_KERNEL_SND_SOC_PCM512x
select ADK_LINUX_KERNEL_SND_SOC_I2C_AND_SPI
+config ADK_LINUX_KERNEL_SND_DESIGNWARE_I2S
+ tristate
+
+config ADK_LINUX_KERNEL_SND_SOC_ROCKCHIP_I2S
+ tristate
+
+config ADK_LINUX_KERNEL_SND_SOC_ES8316
+ tristate
+
config ADK_LINUX_KERNEL_SND_AUDIO_GRAPH_CARD
tristate
@@ -143,10 +152,13 @@ config ADK_LINUX_KERNEL_SND_INTEL8X0
help
Driver for intel chipsets.
-config ADK_LINUX_KERNEL_SND_SOC_ES8316
+config ADK_LINUX_KERNEL_SND_SOC_ROCKCHIP
tristate "Rockchip driver (ES8316 Codec)"
select ADK_LINUX_KERNEL_SND
select ADK_LINUX_KERNEL_SND_SOC
+ select ADK_LINUX_KERNEL_SND_SOC_ES8316
+ select ADK_LINUX_KERNEL_SND_SOC_ROCKCHIP_I2S
+ select ADK_LINUX_KERNEL_SND_DESIGNWARE_I2S
select ADK_LINUX_KERNEL_SND_AUDIO_GRAPH_CARD
default m if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
default n