audio: fix control flow
1. Audio HAL should notified STHAL before sending
audio calibration of audio usecase to kernel.
2. Fix the condition logic of pcm_capture, the
stream.out and stream.in are union, so we can't
check if it's NULL.
Bug: 129111371
Test: manual
Change-Id: I39676410555f7f528c0705059c312a1250d489f0
Signed-off-by:
Carter Hsu <carterhsu@google.com>
Loading