commit | ea4d25d5a3709cba0d3df2195edffc400170394f | [log] [tgz] |
---|---|---|
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | Thu Mar 31 19:23:14 2016 +0100 |
committer | Mark Brown <broonie@kernel.org> | Thu Mar 31 11:42:48 2016 -0700 |
tree | b5c3901fb7494fadafa62bdabedcd063d7bef825 | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca [diff] |
ASoC: qcom: Fix uninitialized symbol warning. This patch fixes following static checker warning, by initializing the ret to -EINVAL, as one of the code path in lpass_platform_pcm_new() uses this variable uninitialized. sound/soc/qcom/lpass-platform.c:555 lpass_platform_pcm_new() error: uninitialized symbol 'ret'. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>