提交 0132615d 编写于 作者: M Mark Brown

ASoC: Say we can't read WM5100 ID register

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册