Commit c48bf153 authored by Johan Hovold's avatar Johan Hovold Committed by Samuel Ortiz

mfd: Mark two lm3533 zone registers as volatile

Mark the two currently unused zone registers as volatile in regmap for
completeness.
Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 60908855
...@@ -567,7 +567,7 @@ static bool lm3533_readable_register(struct device *dev, unsigned int reg) ...@@ -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) static bool lm3533_volatile_register(struct device *dev, unsigned int reg)
{ {
switch (reg) { switch (reg) {
case 0x34: /* zone */ case 0x34 ... 0x36: /* zone */
case 0x37 ... 0x38: /* adc */ case 0x37 ... 0x38: /* adc */
case 0xb0 ... 0xb1: /* fault */ case 0xb0 ... 0xb1: /* fault */
return true; return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment