brcm2708: all sound overlays require i2c to work

Tested on RPi B+ with HiFiBerry Amp+

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47169
This commit is contained in:
John Crispin 2015-10-11 16:23:01 +00:00
parent 9c7336e0f9
commit 0be23c40f3
1 changed files with 8 additions and 8 deletions

View File

@ -55,7 +55,7 @@ define KernelPackage/sound-soc-hifiberry-dac
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dac.ko \ $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dac.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a snd-soc-hifiberry-dac) AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a snd-soc-hifiberry-dac)
DEPENDS:=kmod-sound-soc-bcm2708-i2s DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708
$(call AddDepends/sound) $(call AddDepends/sound)
endef endef
@ -74,7 +74,7 @@ define KernelPackage/sound-soc-hifiberry-dacplus
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplus.ko \ $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplus.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-hifiberry-dacplus) AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-hifiberry-dacplus)
DEPENDS:=kmod-sound-soc-bcm2708-i2s DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708
$(call AddDepends/sound) $(call AddDepends/sound)
endef endef
@ -93,7 +93,7 @@ define KernelPackage/sound-soc-hifiberry-digi
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-digi.ko \ $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-digi.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804 snd-soc-hifiberry-digi) AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804 snd-soc-hifiberry-digi)
DEPENDS:=kmod-sound-soc-bcm2708-i2s DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708
$(call AddDepends/sound) $(call AddDepends/sound)
endef endef
@ -112,7 +112,7 @@ define KernelPackage/sound-soc-hifiberry-amp
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-amp.ko \ $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-amp.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-tas5713.ko $(LINUX_DIR)/sound/soc/codecs/snd-soc-tas5713.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-tas5713 snd-soc-hifiberry-amp) AUTOLOAD:=$(call AutoLoad,68,snd-soc-tas5713 snd-soc-hifiberry-amp)
DEPENDS:=kmod-sound-soc-bcm2708-i2s DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708
$(call AddDepends/sound) $(call AddDepends/sound)
endef endef
@ -131,7 +131,7 @@ define KernelPackage/sound-soc-rpi-dac
$(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-dac.ko \ $(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-dac.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm1794a.ko $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm1794a.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm1794a snd-soc-rpi-dac) AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm1794a snd-soc-rpi-dac)
DEPENDS:=kmod-sound-soc-bcm2708-i2s DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708
$(call AddDepends/sound) $(call AddDepends/sound)
endef endef
@ -150,7 +150,7 @@ define KernelPackage/sound-soc-rpi-proto
$(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-proto.ko \ $(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-proto.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8731.ko $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8731.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 snd-soc-rpi-proto) AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 snd-soc-rpi-proto)
DEPENDS:=kmod-sound-soc-bcm2708-i2s DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708
$(call AddDepends/sound) $(call AddDepends/sound)
endef endef
@ -171,7 +171,7 @@ define KernelPackage/sound-soc-iqaudio-dac
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c snd-soc-iqaudio-dac) AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c snd-soc-iqaudio-dac)
DEPENDS:=kmod-sound-soc-bcm2708-i2s DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708
$(call AddDepends/sound) $(call AddDepends/sound)
endef endef
@ -194,7 +194,7 @@ define KernelPackage/sound-soc-raspidac3
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-tpa6130a2.ko $(LINUX_DIR)/sound/soc/codecs/snd-soc-tpa6130a2.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c snd-soc-tpa6130a2 snd-soc-raspidac3) AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c snd-soc-tpa6130a2 snd-soc-raspidac3)
DEPENDS:=kmod-sound-soc-bcm2708-i2s DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708
$(call AddDepends/sound) $(call AddDepends/sound)
endef endef