Commit 0132615d authored by Mark Brown's avatar Mark Brown

ASoC: Say we can't read WM5100 ID register

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 2688738e
...@@ -2702,7 +2702,7 @@ static __devinit int wm5100_i2c_probe(struct i2c_client *i2c, ...@@ -2702,7 +2702,7 @@ static __devinit int wm5100_i2c_probe(struct i2c_client *i2c,
ret = regmap_read(wm5100->regmap, WM5100_SOFTWARE_RESET, &reg); ret = regmap_read(wm5100->regmap, WM5100_SOFTWARE_RESET, &reg);
if (ret < 0) { 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; goto err_reset;
} }
switch (reg) { switch (reg) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment