How can I get HDMI audio from Pi4?

I don’t get it. I had this working before. Then I tried a newer kernel, as far up as 6.9-rc3, but still no audio. I then went back to what kernel I thought was working, but now nothing works;). I will try to add all the details, but first of all, I get a bunch of these:

[  474.129781] hdmi-audio-codec ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[  474.139589]  MAI: ASoC: error at __soc_pcm_open on MAI: -19

If downgrading the kernel did not make it, try downgrading firmware maybe ?