diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-17 19:27:04 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 13:58:30 +0000 |
commit | 0132615da5bd97c74e4a015721039ef17a4841de (patch) | |
tree | df17f29aa175bf9d52ea2245b8b6a2a6c396eda3 /sound/soc/codecs/wm5100.c | |
parent | 2688738ebac66b4e276321248eb3e12d59cbcd7f (diff) | |
download | lwn-0132615da5bd97c74e4a015721039ef17a4841de.tar.gz lwn-0132615da5bd97c74e4a015721039ef17a4841de.zip |
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.c | 2 |
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, ret = regmap_read(wm5100->regmap, WM5100_SOFTWARE_RESET, ®); if (ret < 0) { - dev_err(&i2c->dev, "Failed to read ID register\n"); + dev_err(&i2c->dev, "Failed to read ID register: %d\n", ret); goto err_reset; } switch (reg) { |