projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf4469
)
ASoC: cs35l32: fix compile warning for i2c_probe
author
Brian Austin
<brian.austin@cirrus.com>
Thu, 7 Aug 2014 14:34:38 +0000
(09:34 -0500)
committer
Mark Brown
<broonie@linaro.org>
Sat, 16 Aug 2014 22:03:22 +0000
(17:03 -0500)
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>
sound/soc/codecs/cs35l32.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs35l32.c
b/sound/soc/codecs/cs35l32.c
index 90565d59def772ed8aa6b0f899f45e9b753ff823..9c6b2723d3435dbfe8ac6038d5d4db455ed36ace 100644
(file)
--- 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)