mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
ASoC: Say we can't read WM5100 ID register
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
2688738eba
commit
0132615da5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user