Build fails:
/var/lib/dkms/seeed-voicecard/r323.014b0b7/build/seeed-voicecard.c: In function ‘seeed_voice_card_probe’:
/var/lib/dkms/seeed-voicecard/r323.014b0b7/build/seeed-voicecard.c:725:9: error: implicit declaration of function ‘asoc_simple_clean_reference’ [-Wimplicit-function-declaration]
725 | asoc_simple_clean_reference(&priv->snd_card);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/seeed-voicecard/r323.014b0b7/build/seeed-voicecard.c: At top level:
/var/lib/dkms/seeed-voicecard/r323.014b0b7/build/seeed-voicecard.c:753:19: error: initialization of ‘void (*)(struct platform_device *)’ from incompatible pointer type ‘int (*)(struct platform_device *)’ [-Wincompatible-pointer-types]
753 | .remove = seeed_voice_card_remove,
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/seeed-voicecard/r323.014b0b7/build/seeed-voicecard.c:753:19: note: (near initialization for ‘seeed_voice_card.<anonymous>.remove’)
/var/lib/dkms/seeed-voicecard/r323.014b0b7/build/seeed-voicecard.c:730:12: note: ‘seeed_voice_card_remove’ declared here
730 | static int seeed_voice_card_remove(struct platform_device *pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/seeed-voicecard/r323.014b0b7/build/seeed-voicecard.c:258:12: warning: ‘asoc_simple_parse_dai’ defined but not used [-Wunused-function]
258 | static int asoc_simple_parse_dai(struct device_node *node,
| ^~~~~~~~~~~~~~~~~~~~~
Pinned Comments
robertfoster commented on 2021-01-22 23:38 (UTC) (edited on 2021-01-22 23:41 (UTC) by robertfoster)
seeed-voicecard with 2mic (based on WM8960 sound codec) is now officially supported upstream with this commit
https://github.com/raspberrypi/linux/commit/1f085dec8d4159e8af30e7012ac6184ee5de37ff.
On Arch Linux ARM is officially supported since this commit
https://github.com/archlinuxarm/PKGBUILDs/commit/585dc764e7543469cf897c0aacaea060da1d0820
You have to insert this entry in /boot/config.txt:
dtoverlay=wm8960-soundcardand
snd-soc-wm8960will be loaded by udevYou will find other info in
/boot/overlays/README