diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-24 19:43:15 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-07-24 19:43:15 +0000 |
commit | 2893c62ad867451145a3c9aeff1207c666cebbae (patch) | |
tree | 376733549b211e3d33343db6392f9e616efb1f23 /target/linux/ep93xx | |
parent | c850c30bbaf42615fc8a3953a101c3b59a11b36f (diff) | |
download | upstream-2893c62ad867451145a3c9aeff1207c666cebbae.tar.gz upstream-2893c62ad867451145a3c9aeff1207c666cebbae.tar.bz2 upstream-2893c62ad867451145a3c9aeff1207c666cebbae.zip |
[ep93xx] fix sound modules loading order and dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32802 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ep93xx')
-rw-r--r-- | target/linux/ep93xx/modules.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ep93xx/modules.mk b/target/linux/ep93xx/modules.mk index 94d2c83f82..8b7060ffc7 100644 --- a/target/linux/ep93xx/modules.mk +++ b/target/linux/ep93xx/modules.mk @@ -27,10 +27,10 @@ $(eval $(call KernelPackage,input-keyboard-ep93xx)) define KernelPackage/sound-soc-ep93xx SUBMENU:=$(SOUND_MENU) TITLE:=EP93xx SoC sound support - DEPENDS:=@TARGET_ep93xx +kmod-sound-core +kmod-sound-soc-core + DEPENDS:=@TARGET_ep93xx +kmod-sound-soc-ac97 KCONFIG:=CONFIG_SND_EP93XX_SOC FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-ep93xx.ko - AUTOLOAD:=$(call AutoLoad,56,snd-soc-ep93xx) + AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx) endef define KernelPackage/sound-soc-ep93xx/description @@ -39,13 +39,15 @@ endef $(eval $(call KernelPackage,sound-soc-ep93xx)) +# Must be loaded prior to sound-soc-ac97 because it exports +# soc_ac97_ops define KernelPackage/sound-soc-ep93xx-ac97 SUBMENU:=$(SOUND_MENU) TITLE:=EP93xx SoC AC97 support DEPENDS:=+kmod-sound-soc-ep93xx KCONFIG:=CONFIG_SND_EP93XX_SOC_AC97 FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-ep93xx-ac97.ko - AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx-ac97) + AUTOLOAD:=$(call AutoLoad,56,snd-soc-ep93xx-ac97) endef define KernelPackage/sound-soc-ep93xx-ac97/description @@ -60,7 +62,7 @@ define KernelPackage/sound-soc-ep93xx-simone DEPENDS:=+kmod-sound-soc-ep93xx +kmod-sound-soc-ep93xx-ac97 KCONFIG:=CONFIG_SND_EP93XX_SOC_SIMONE FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-simone.ko - AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx) + AUTOLOAD:=$(call AutoLoad,59,snd-soc-ep93xx) endef define KernelPackage/sound-soc-ep93xx-simone/description |