Attempting to output sound over HDMI but getting error HDMI Video not ready

I am attempting to play audio over hdmi but each time I try to play I get

imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22

and no sound comes out.

How do I disable HDMI video to get audio to work? Or is there a better solution?

Thanks!

Audio and video data is really interleaved on HDMI and one can’t just exclusively output audio. Please further note that not all video data pixel clock frequencies allow for such interleaved audio transmission. Usually such details are negotiated using DDC/EDID.