Commit 1fa93bb2 authored by Axel Lin's avatar Axel Lin Committed by Samuel Ortiz

mfd: Show correct device id for wm8400

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent f0447a69
...@@ -271,8 +271,7 @@ static int wm8400_init(struct wm8400 *wm8400, ...@@ -271,8 +271,7 @@ static int wm8400_init(struct wm8400 *wm8400,
return -EIO; return -EIO;
} }
if (i != reg_data[WM8400_RESET_ID].default_val) { if (i != reg_data[WM8400_RESET_ID].default_val) {
dev_err(wm8400->dev, "Device is not a WM8400, ID is %x\n", dev_err(wm8400->dev, "Device is not a WM8400, ID is %x\n", i);
reg);
return -ENODEV; return -ENODEV;
} }
......
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