ASoC: sunxi: Uninitialized variable in probe()

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

Fixes: ba2ff3027b ("ASoC: sunxi: Add support for A23/A33/H3 codec's analog path controls")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Dan Carpenter 2016-11-24 01:29:06 +03:00 committed by Mark Brown
parent ba2ff3027b
commit 999982ef7c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}