I don’t know why but almost every time I update the KERNEL I loose the HDMI audio. To fix it I copied & paste the following and then reboot. It’s majic my HDMI audio starts to work. Don’t know where I got this but thank-you and hope it works for someone else.
echo 'options snd-intel-dspcfg dsp_driver=1' | sudo tee -a /etc/modprobe.d/alsa-hda.conf
I’m using an older Intel NUC
Mod edit:- It is only required that code or command output be placed within a pre-formatted text box. Normal comments can remain typed directly into the post, as the edit demonstrates.
Please post with some forethought in future. Formatting corrected. No charge.