commit | 9149916f1e8c912c585ddebf12a98e99bd81aafe | [log] [tgz] |
---|---|---|
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | Wed Aug 23 19:37:12 2017 +0530 |
committer | Mark Brown <broonie@kernel.org> | Wed Aug 23 16:50:21 2017 +0100 |
tree | b3ed3a6c0985dd2a29ba9dbbcdbdb898ee782486 | |
parent | 7b992c24de78a206b3abd07192686d2d5db5012c [diff] |
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. 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>