After I created this bug report some time ago now (using whatever kernel was current in 2022-06-20), I stopped using the dock, plugging keyboard and audio directly to my laptop. I've been using the dock again since a week ago (with an up to date kernel) and did not had this issue since, so I would not be surprised my original issue has been fixed since. If I get this issue again I will report it here.