mirror of https://github.com/thesofproject/sof.git
audio: google: Add missing return check
Check those errors Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
parent
0c5ddaf617
commit
9e7353a5bb
|
@ -377,7 +377,7 @@ static struct comp_dev *google_rtc_audio_processing_create(
|
|||
&capture_headroom_linear,
|
||||
&echo_path_delay_ms);
|
||||
|
||||
if (!cd->state) {
|
||||
if (ret < 0) {
|
||||
comp_err(dev, "Failed to apply GoogleRtcAudioProcessingParameters");
|
||||
goto fail;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue