Skip to content

Commit

Permalink
mfd: Mark two lm3533 zone registers as volatile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hovold authored and Samuel Ortiz committed May 20, 2012
1 parent 6090885 commit c48bf15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/lm3533-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c48bf15

Please sign in to comment.