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:
3080de4
)
mfd: wm8994: Implement support for WM1811 devices with higher cust_ids
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 23 Aug 2012 14:47:52 +0000
(15:47 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 14 Sep 2012 07:52:11 +0000
(09:52 +0200)
Higher cust_ids have had the device revision field reset so need different
handling of GPIO6.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8994-regmap.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm8994-regmap.c
b/drivers/mfd/wm8994-regmap.c
index 52e9e29449403b1d5b21dc215973f7e4b8de41e6..2fbce9c5950b5fb9657c3589f77e3b5fe5cf5726 100644
(file)
--- a/
drivers/mfd/wm8994-regmap.c
+++ b/
drivers/mfd/wm8994-regmap.c
@@
-1136,7
+1136,7
@@
static bool wm1811_volatile_register(struct device *dev, unsigned int reg)
switch (reg) {
case WM8994_GPIO_6:
- if (wm8994->revision > 1)
+ if (wm8994->
cust_id > 1 || wm8994->
revision > 1)
return true;
else
return false;