I tried so many things after the upgrade to 22.04 and nothing seemed to work, and what I noticed (in my case), is that the kernel was not using the snd_hda_intel driver and therefor couldn't see/load the soundcard while lspci was still showing the soundcard.
I tried several of the options found and what did work for me what eventually the last option found on this page:
https://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/
which was actually saying to add the following to the alsa-base.conf (/etc/modprobe.d/alsa-base.conf) and reboot:
options snd-hda-intel dmic_detect=0 after the reboot I finally had audio again!