commit | 71a2646c90a6cef9de84896b0b764f9797bf96c0 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Thu Nov 15 22:53:56 2018 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Nov 15 22:53:56 2018 -0800 |
tree | 5a2552f43831bf28bfa50b2c5d75a4e7fefecffc | |
parent | fa686232a5e03851c97f32dfcf592887a2b0b3f3 [diff] | |
parent | 47ea2ca412a5a8c8e45f68fb5c2bc0a9f598ddc8 [diff] |
Merge "ASoC: dsp: correct return value check"
diff --git a/dsp/q6adm.c b/dsp/q6adm.c index ce297e1..1596418 100644 --- a/dsp/q6adm.c +++ b/dsp/q6adm.c
@@ -793,7 +793,7 @@ index = index + ch_mixer->input_channels[channel_index]; ret = adm_populate_channel_weight(&adm_pspd_params[index], ch_mixer, channel_index); - if (!ret) { + if (ret) { pr_err("%s: fail to get channel weight with error %d\n", __func__, ret); goto fail_cmd;