Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261863
b: refs/heads/master
c: a2495bc
h: refs/heads/master
i:
  261861: d4b4545
  261859: ab7621a
  261855: 309c8c5
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Jul 31, 2011
1 parent 8d13a8b commit ed1f1c9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 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: d1738aef387ab9591a6d13b00945e248b942c53f
refs/heads/master: a2495bc727e2dd8421fb85c80e38f9a4a4c1e58e
13 changes: 9 additions & 4 deletions trunk/drivers/mfd/wm8994-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,13 +476,18 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq)
goto err_enable;
}

switch (ret) {
case 0:
case 1:
if (wm8994->type == WM8994)
switch (wm8994->type) {
case WM8994:
switch (ret) {
case 0:
case 1:
dev_warn(wm8994->dev,
"revision %c not fully supported\n",
'A' + ret);
break;
default:
break;
}
break;
default:
break;
Expand Down

0 comments on commit ed1f1c9

Please sign in to comment.