Hi,
running on Raspi3, hifiberry can't be loaded in kernel 5.4.18, it fails with snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
Code
##############################################
# LibreELEC #
# https://libreelec.tv #
##############################################
LibreELEC (Milhouse): devel-20200216210416-#0216-gd1fdc57 (RPi2.arm)
raspiLibreELEC:~ # aplay -l
aplay: device_list:272: no soundcards found...
raspiLibreELEC:~ # uname -a
Linux raspiLibreELEC 5.4.18 #1 SMP Sun Feb 16 21:05:03 GMT 2020 armv7l GNU/Linux
raspiLibreELEC:~ # lsmod
Module Size Used by
hidp 28672 0
aes_arm_bs 24576 4
crypto_simd 16384 1 aes_arm_bs
cryptd 20480 3 crypto_simd
hci_uart 45056 1
btbcm 16384 1 hci_uart
serdev 20480 1 hci_uart
bluetooth 442368 24 hidp,hci_uart,btbcm
ecdh_generic 16384 2 bluetooth
ecc 36864 1 ecdh_generic
8021q 28672 0
bcm2835_codec 32768 0
snd_soc_pcm512x_i2c 16384 0
videobuf2_dma_contig 24576 1 bcm2835_codec
videobuf2_memops 20480 1 videobuf2_dma_contig
brcmfmac 274432 0
brcmutil 20480 1 brcmfmac
snd_soc_pcm512x 32768 1 snd_soc_pcm512x_i2c
snd_soc_hifiberry_dacplus 16384 0
v4l2_mem2mem 20480 1 bcm2835_codec
videobuf2_v4l2 24576 2 bcm2835_codec,v4l2_mem2mem
cfg80211 561152 1 brcmfmac
videobuf2_common 45056 3 bcm2835_codec,v4l2_mem2mem,videobuf2_v4l2
rfkill 24576 4 bluetooth,cfg80211
bcm2835_gpiomem 16384 0
videodev 180224 4 bcm2835_codec,videobuf2_common,v4l2_mem2mem,videobuf2_v4l2
i2c_bcm2835 16384 0
snd_soc_bcm2835_i2s 20480 0
mc 45056 5 bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
fixed 20480 0
wireguard 135168 0
ip6_udp_tunnel 16384 1 wireguard
udp_tunnel 16384 1 wireguard
raspiLibreELEC:~ # dmesg|grep hifiberry
[ 7.185696] snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
[ 7.409770] snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
[ 7.419868] snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
[ 7.546983] Modules linked in: snd_soc_pcm512x_i2c(+) videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.548495] Modules linked in: snd_soc_pcm512x_i2c(+) videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.552649] Modules linked in: snd_soc_pcm512x_i2c(+) videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.712001] snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
[ 7.720195] Modules linked in: bcm2835_codec(C) snd_soc_pcm512x_i2c videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.720637] Modules linked in: bcm2835_codec(C) snd_soc_pcm512x_i2c videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.721015] Modules linked in: bcm2835_codec(C) snd_soc_pcm512x_i2c videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
raspiLibreELEC:~ #
Display More
Full dmesg output see dmesg.txt.
It's not an hardware issue, hifiberry is fine when booting a different image/sd card (see hifiberry_ok.txt for log excerpts).