提交 999982ef 编写于 作者: D Dan Carpenter 提交者: Mark Brown

ASoC: sunxi: Uninitialized variable in probe()

Oddly enough, my version of GCC misses this uninitialized variable.

Fixes: ba2ff302 ("ASoC: sunxi: Add support for A23/A33/H3 codec's analog path controls")
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Acked-by: NChen-Yu Tsai <wens@csie.org>
Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 ba2ff302
......@@ -589,7 +589,7 @@ static int sun8i_codec_analog_cmpnt_probe(struct snd_soc_component *cmpnt)
}
if (quirks->has_hmic) {
sun8i_codec_add_hmic(cmpnt);
ret = sun8i_codec_add_hmic(cmpnt);
if (ret)
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册