vc4: hdmi: audio: ASoC: error at snd_soc_dai_startup on fef00700.hdmi

Maxime Ripard maxime at cerno.tech
Fri Jun 4 11:02:15 CEST 2021


Hi Stefan,

On Wed, May 26, 2021 at 12:47:29PM +0200, Stefan Wahren wrote:
> Hi,
> 
> yesterday i was testing with Linux 5.13-rc3 on my Raspberry Pi 4 B
> (multi_v7_defconfig) and i'm getting the following errors during boot:
> 
> [   25.947494] vc4_hdmi fef00700.hdmi: ASoC: error at
> snd_soc_dai_startup on fef00700.hdmi: -19
> [   25.947512]  MAI: soc_pcm_open() failed (-19)
> [   25.947883] vc4_hdmi fef00700.hdmi: ASoC: error at
> snd_soc_dai_startup on fef00700.hdmi: -19
> [   25.947891]  MAI: soc_pcm_open() failed (-19)
> [   25.948566] vc4_hdmi fef00700.hdmi: ASoC: error at
> snd_soc_dai_startup on fef00700.hdmi: -19
> [   25.948577]  MAI: soc_pcm_open() failed (-19)
> [   26.500049] vc4_hdmi fef00700.hdmi: ASoC: error at
> snd_soc_dai_startup on fef00700.hdmi: -19
> [   26.500065]  MAI: soc_pcm_open() failed (-19)
> [   26.500608] vc4_hdmi fef00700.hdmi: ASoC: error at
> snd_soc_dai_startup on fef00700.hdmi: -19
> [   26.500617]  MAI: soc_pcm_open() failed (-19)
> [   26.502339] vc4_hdmi fef00700.hdmi: ASoC: error at
> snd_soc_dai_startup on fef00700.hdmi: -19
> [   26.502353]  MAI: soc_pcm_open() failed (-19)
> [   26.502569] vc4_hdmi fef00700.hdmi: ASoC: error at
> snd_soc_dai_startup on fef00700.hdmi: -19
> [   26.502578]  MAI: soc_pcm_open() failed (-19)
> 
> Rootfs: Raspberry Pi OS 32 bit (April 2021)
> 
> But according to aplay -l both hdmi devices have been registered. Does
> anyone have seen this, too?

I would assume it's due to this:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/vc4/vc4_hdmi.c#n1083

It pre-dates my time working on the vc4 driver so I'm not really sure
what this is supposed to prevent, but my guess is that it's there to
avoid someone using the audio card before we have a display detected and
connected, and its capabilities known (the first and more obvious one
being does it support audio in the first place).

It's nothing new though, maybe it's the error printing itself that is?

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210604/47935a8a/attachment.sig>


More information about the Alsa-devel mailing list