Well, I am using RPi4 and had no HDMI sound issue after upgrading LE to 9.2.6.
I don't think the onboard micro HDMI connector is broken, more likely it could be a cheap cable with bad contacts. But usually if there's a video OK, the audio also works ( AFAIK both goes through TMDS channels ).
At first I would check the TV / display attached if the audio is not muted / switched off there... Or if there are external speakers connected to display...
AFAIK the secondary HDMI port on RPI4 is not supported in LE. So far I did not have a reason to play with the settings (using just the HDMI 0 port) so I don't know what is possible to do...
Just quickly tested the tvservice command which partially works on LE 9.2.6 with issues (sometimes the -v parameter is ignored, sometimes it hangs etc.) on 2 HDMI displays connected and sometimes I was able to switch video to secondary HDMI port (using -p and -o parameters on both ports but don't ask me how exactly, it's hard to reproduce it). But just the video.without sound and without LE GUI.
There's -a parameter which should display info about audio supported so maybe you can try to play with this.
LE:~ # tvservice -l
2 attached device(s), display ID's are :
Display Number 2, type HDMI 0
Display Number 7, type HDMI 1
LE:~ # tvservice -a -v7
PCM supported: Max channels: 2, Max samplerate: 192kHz, Max samplesize 16 bits.
AC3 supported: Max channels: 6, Max samplerate: 48kHz, Max rate 2040 kb/s.
LE:~ # tvservice -a -v2
PCM supported: Max channels: 2, Max samplerate: 48kHz, Max samplesize 24 bits.
LE:~ # tvservice -s -v2
state 0xa [HDMI CUSTOM RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive
LE:~ # tvservice -s -v7
state 0xa [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive
LE:~ #