From: Mark Brown Date: Tue, 17 Jan 2012 19:27:04 +0000 (+0000) Subject: ASoC: Say we can't read WM5100 ID register X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0132615da5bd97c74e4a015721039ef17a4841de;p=linux-beck.git ASoC: Say we can't read WM5100 ID register Signed-off-by: Mark Brown --- 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) {