FROMLIST: ASoC: Intel: Skylake: Fix uninitialized return

On failure to get dsp_ops, dsp_init returns error without assigning ret. ret
is assigned in code path which will never be executed. Fix it.

BUG=b:64204809,b:62824436
TEST=no oops during reboot testing on eve.

Signed-off-by: Todd Broch <tbroch@chromium.org>
(am from https://patchwork.kernel.org/patch/9917471/)

Fixes: f77d443c4c29 ("ASoC: Intel: Skylake: Fix to free resources for dsp_init failure"
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 9149916f1e8c912c585ddebf12a98e99bd81aafe)

Reviewed-on: https://chromium-review.googlesource.com/630737
Commit-Ready: Todd Broch <tbroch@chromium.org>
Tested-by: HARSHAPRIYA N <harshapriya.n@intel.com>
Tested-by: Todd Broch <tbroch@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: HARSHAPRIYA N <harshapriya.n@intel.com>
(cherry picked from commit acae1e586215a320f8dd6fd1d21609e7b53ac1df)
Signed-off-by: Benson Leung <bleung@chromium.org>

Change-Id: I9f69699b1db813b891b480477fa658f542b091dc
Reviewed-on: https://chromium-review.googlesource.com/664075
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Commit-Queue: Benson Leung <bleung@google.com>
Trybot-Ready: Benson Leung <bleung@google.com>
Tested-by: Benson Leung <bleung@google.com>
1 file changed