[openwrt/openwrt] kernel: package snd-soc-dmic driver
LEDE Commits
lede-commits at lists.infradead.org
Sat Nov 23 07:20:58 PST 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e606366a2e018e0a3b25e3dd4b3a937bb53c70e1
commit e606366a2e018e0a3b25e3dd4b3a937bb53c70e1
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Fri Oct 25 15:21:57 2024 +0200
kernel: package snd-soc-dmic driver
It is needed for the stm32/stm32mp1 subtarget.
Signed-off-by: Thomas Richard <thomas.richard at bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/16716
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/sound.mk | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 623f65ac59..f3e44e01ee 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -314,6 +314,17 @@ endef
$(eval $(call KernelPackage,sound-soc-spdif))
+define KernelPackage/sound-soc-dmic
+ TITLE:=Generic Digital Microphone CODEC
+ KCONFIG:=CONFIG_SND_SOC_DMIC
+ FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-dmic.ko
+ AUTOLOAD:=$(call AutoProbe,snd-soc-dmic)
+ $(call AddDepends/sound,+kmod-sound-soc-core)
+endef
+
+$(eval $(call KernelPackage,sound-soc-dmic))
+
+
define KernelPackage/pcspkr
DEPENDS:=@TARGET_x86 +kmod-input-core
TITLE:=PC speaker support
More information about the lede-commits
mailing list