aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5100.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-17 14:27:04 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-20 08:58:30 -0500
commit0132615da5bd97c74e4a015721039ef17a4841de (patch)
treedf17f29aa175bf9d52ea2245b8b6a2a6c396eda3 /sound/soc/codecs/wm5100.c
parent2688738ebac66b4e276321248eb3e12d59cbcd7f (diff)
ASoC: Say we can't read WM5100 ID register
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm5100.c')
-rw-r--r--sound/soc/codecs/wm5100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index c112f5eaa119..de8604229bc9 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -2702,7 +2702,7 @@ static __devinit int wm5100_i2c_probe(struct i2c_client *i2c,
2702 2702
2703 ret = regmap_read(wm5100->regmap, WM5100_SOFTWARE_RESET, &reg); 2703 ret = regmap_read(wm5100->regmap, WM5100_SOFTWARE_RESET, &reg);
2704 if (ret < 0) { 2704 if (ret < 0) {
2705 dev_err(&i2c->dev, "Failed to read ID register\n"); 2705 dev_err(&i2c->dev, "Failed to read ID register: %d\n", ret);
2706 goto err_reset; 2706 goto err_reset;
2707 } 2707 }
2708 switch (reg) { 2708 switch (reg) {