diff options
author | Brian Austin <brian.austin@cirrus.com> | 2014-08-07 18:34:38 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-17 02:03:22 +0400 |
commit | 38f57532ede565a3c71da7b7727369f374c51acb (patch) | |
tree | 2654de7200fae45f13bbeb00207f3b0cdc4876fa /sound/soc/codecs/cs35l32.c | |
parent | 9cf44690204db563ba065ed856546dc8a8b742a1 (diff) | |
download | linux-38f57532ede565a3c71da7b7727369f374c51acb.tar.xz |
ASoC: cs35l32: fix compile warning for i2c_probe
Forgot to add a return for err_disable goto statement.
Causes compile warning of control reaching end of non-void
Signed-off-by: Brian Austin <briann.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/cs35l32.c')
-rw-r--r-- | sound/soc/codecs/cs35l32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs35l32.c b/sound/soc/codecs/cs35l32.c index 90565d59def7..9c6b2723d343 100644 --- a/sound/soc/codecs/cs35l32.c +++ b/sound/soc/codecs/cs35l32.c @@ -549,6 +549,7 @@ static int cs35l32_i2c_probe(struct i2c_client *i2c_client, err_disable: regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), cs35l32->supplies); + return ret; } static int cs35l32_i2c_remove(struct i2c_client *i2c_client) |