Skip to content

Commit

Permalink
ASoC: cs35l32: fix compile warning for i2c_probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brian Austin authored and Mark Brown committed Aug 16, 2014
1 parent 9cf4469 commit 38f5753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/cs35l32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 38f5753

Please sign in to comment.