projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43913e5
)
mfd: Correct revision display for WM1811 revision D
author
Mark Brown
<
[email protected]
>
Wed, 30 Nov 2011 16:51:04 +0000
(16:51 +0000)
committer
Mark Brown
<
[email protected]
>
Mon, 12 Dec 2011 16:11:24 +0000
(
00:11
+0800)
As WM1811 revision C was transparent to software the revision IDs for
subsequent revisions are one less than they would normally be. Correct
for this in log messages.
Signed-off-by: Mark Brown <
[email protected]
>
Acked-by: Samuel Ortiz <
[email protected]
>
drivers/mfd/wm8994-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm8994-core.c
b/drivers/mfd/wm8994-core.c
index f9c4016baea6dac88368408374aeef30d971aafd..12bd0eed0b2e4b1d0a1a4b119d24e868fed8e75c 100644
(file)
--- a/
drivers/mfd/wm8994-core.c
+++ b/
drivers/mfd/wm8994-core.c
@@
-460,6
+460,11
@@
static int wm8994_device_init(struct wm8994 *wm8994, int irq)
break;
}
break;
+ case WM1811:
+ /* Revision C did not change the relevant layer */
+ if (ret > 1)
+ ret++;
+ break;
default:
break;
}