hubport: Fix fail condition

Change-Id: Idc5090fdf4739d982857e1c7f831ab5f53a937b9
audiomixer: Check if parameters are valid before using them

Change-Id: I67a1b7d13c6d2236676e5e0f44f5e407077850ab