mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
mfd: Mark two lm3533 zone registers as volatile
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>
This commit is contained in:
parent
6090885597
commit
c48bf153f2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user