diff options
author | Tim Gardner <tim.gardner@canonical.com> | 2013-03-10 17:58:21 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-12 19:50:00 +0100 |
commit | 1f5353e765fe2a1168477bfe55e4dd7cdd96b477 (patch) | |
tree | 3aba70485940df2680169a5dec6f4f6b7f0419b6 /lib/inflate.c | |
parent | Linux 3.9-rc2 (diff) | |
download | linux-1f5353e765fe2a1168477bfe55e4dd7cdd96b477.tar.xz linux-1f5353e765fe2a1168477bfe55e4dd7cdd96b477.zip |
ASoC: wm_hubs: Silence reg_r and reg_l 'may be used uninitialized' warnings
Return an error from wm_hubs_read_dc_servo() if hubs->dcs_readback_mode is not
correctly initialized. You might as well bail out since nothing is likely to
work correctly afterwards.
sound/soc/codecs/wm_hubs.c:321:11: warning: 'reg_r' may be used uninitialized in this function [-Wuninitialized]
sound/soc/codecs/wm_hubs.c:251:13: note: 'reg_r' was declared here
sound/soc/codecs/wm_hubs.c:322:11: warning: 'reg_l' may be used uninitialized in this function [-Wuninitialized]
sound/soc/codecs/wm_hubs.c:251:6: note: 'reg_l' was declared here
gcc version 4.6.3
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'lib/inflate.c')
0 files changed, 0 insertions, 0 deletions