From: Brian Austin Date: Thu, 7 Aug 2014 14:34:38 +0000 (-0500) Subject: ASoC: cs35l32: fix compile warning for i2c_probe X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=38f57532ede565a3c71da7b7727369f374c51acb;p=deliverable%2Flinux.git 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 Signed-off-by: Mark Brown --- 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)