Skip to content

Commit 999982e

Browse files
Dan Carpenterbroonie
authored andcommitted
ASoC: sunxi: Uninitialized variable in probe()
Oddly enough, my version of GCC misses this uninitialized variable. Fixes: ba2ff30 ("ASoC: sunxi: Add support for A23/A33/H3 codec's analog path controls") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Chen-Yu Tsai <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent ba2ff30 commit 999982e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/sunxi/sun8i-codec-analog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ static int sun8i_codec_analog_cmpnt_probe(struct snd_soc_component *cmpnt)
589589
}
590590

591591
if (quirks->has_hmic) {
592-
sun8i_codec_add_hmic(cmpnt);
592+
ret = sun8i_codec_add_hmic(cmpnt);
593593
if (ret)
594594
return ret;
595595
}

0 commit comments

Comments
 (0)