[openwrt/openwrt] x86: cs5535audio: add support for subtarget legacy

LEDE Commits lede-commits at lists.infradead.org
Mon Jan 19 03:51:47 PST 2026


robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/067178b7fdcfcdda9e7d7bf0e48d89a25bdca1be

commit 067178b7fdcfcdda9e7d7bf0e48d89a25bdca1be
Author: Pierre-Emmanuel Frot <piemfrot at gmail.com>
AuthorDate: Sun Jan 18 21:13:28 2026 +0100

    x86: cs5535audio: add support for subtarget legacy
    
    Build kernel module for cs5535 internal audio for target x86 "legacy" also
    (so far only for target x86 "geode")
    
    Signed-off-by: Pierre-Emmanuel Frot <piemfrot at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/21596
    Signed-off-by: Robert Marko <robimarko at gmail.com>
    (cherry picked from commit e45ba0ef6e11bbf21c9853b5408a9e70a46058b5)
---
 target/linux/x86/modules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk
index 4199a3f3c5..8294c34a41 100644
--- a/target/linux/x86/modules.mk
+++ b/target/linux/x86/modules.mk
@@ -52,7 +52,7 @@ $(eval $(call KernelPackage,f71808e-wdt))
 
 define KernelPackage/sound-cs5535audio
   TITLE:=CS5535/CS5536 Audio Controller
-  DEPENDS:=@TARGET_x86_geode +kmod-ac97
+  DEPENDS:=@(TARGET_x86_geode||TARGET_x86_legacy) +kmod-ac97
   KCONFIG:=CONFIG_SND_CS5535AUDIO
   FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
   AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)




More information about the lede-commits mailing list