Merge "hal: add primary output validity check during voip device switch"