projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6090885
)
mfd: Mark two lm3533 zone registers as volatile
author
Johan Hovold
<jhovold@gmail.com>
Fri, 18 May 2012 18:22:46 +0000
(20:22 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 20 May 2012 15:27:14 +0000
(17:27 +0200)
Mark the two currently unused zone registers as volatile in regmap for
completeness.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/lm3533-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/lm3533-core.c
b/drivers/mfd/lm3533-core.c
index 104faba494c9f5dc573d179fdd1d594421cd5d2f..0b2879b87fd999f537bbfc652da9a29c90eb1042 100644
(file)
--- a/
drivers/mfd/lm3533-core.c
+++ b/
drivers/mfd/lm3533-core.c
@@
-567,7
+567,7
@@
static bool lm3533_readable_register(struct device *dev, unsigned int reg)
static bool lm3533_volatile_register(struct device *dev, unsigned int reg)
{
switch (reg) {
- case 0x34
:
/* zone */
+ case 0x34
... 0x36:
/* zone */
case 0x37 ... 0x38: /* adc */
case 0xb0 ... 0xb1: /* fault */
return true;