Merge "hal: fix input validation errors" into audio-userspace.lnx.2.1-dev