Files
android_kernel_xiaomi_sm8450/sound/soc/codecs
Axel Lin fe99b55994 ASoC: tlv320aic3x - fix variable may be used uninitialized warning
If aic3x_read failed , val is used uninitialized.
Fix it by initializing val to 0.

This patch fixes below compile warning:
sound/soc/codecs/tlv320aic3x.c: In function 'aic3x_get_gpio':
sound/soc/codecs/tlv320aic3x.c:1183: warning: 'val' may be used uninitialized in this function
sound/soc/codecs/tlv320aic3x.c: In function 'aic3x_headset_detected':
sound/soc/codecs/tlv320aic3x.c:1211: warning: 'val' may be used uninitialized in this function
sound/soc/codecs/tlv320aic3x.c: In function 'aic3x_button_pressed':
sound/soc/codecs/tlv320aic3x.c:1219: warning: 'val' may be used uninitialized in this function

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-11-25 21:15:35 +00:00
..
2010-10-07 12:56:43 -07:00
2010-09-15 12:03:58 +01:00
2010-10-07 13:40:44 -07:00
2010-09-16 14:14:57 +01:00
2008-11-17 11:45:39 +00:00
2010-10-18 16:46:27 -07:00
2010-11-23 14:29:51 +00:00
2010-10-18 16:46:27 -07:00
2010-08-20 13:28:49 +01:00
2010-09-30 13:32:21 -07:00
2010-11-23 14:30:00 +00:00
2010-09-15 16:11:24 +01:00
2010-11-23 14:30:12 +00:00
2010-11-01 15:44:57 -04:00