Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223521
b: refs/heads/master
c: b93cef5
h: refs/heads/master
i:
  223519: 9f45a61
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Dec 22, 2010
1 parent 9ca1215 commit 86bc442
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88aec4f7b67b5889ba5b4beac2d2c1400451c318
refs/heads/master: b93cef556162b0f33399bfe5f307c54f51554e09
6 changes: 5 additions & 1 deletion trunk/drivers/mfd/wm831x-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,11 @@ int wm831x_device_init(struct wm831x *wm831x, unsigned long id, int irq)
dev_err(wm831x->dev, "Failed to read parent ID: %d\n", ret);
goto err;
}
if (ret != 0x6204) {
switch (ret) {
case 0x6204:
case 0x6246:
break;
default:
dev_err(wm831x->dev, "Device is not a WM831x: ID %x\n", ret);
ret = -EINVAL;
goto err;
Expand Down

0 comments on commit 86bc442

Please sign in to comment.