Skip to content

Commit

Permalink
mfd: rn5t618: Mark ADC control register volatile
Browse files Browse the repository at this point in the history
There is a bit which gets cleared after conversion.

Fixes: 9bb9e29 ("mfd: Add Ricoh RN5T618 PMIC core driver")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Andreas Kemnade authored and Lee Jones committed Jan 24, 2020
1 parent aac5d8f commit 2f3dc25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/rn5t618.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ static bool rn5t618_volatile_reg(struct device *dev, unsigned int reg)
case RN5T618_WATCHDOGCNT:
case RN5T618_DCIRQ:
case RN5T618_ILIMDATAH ... RN5T618_AIN0DATAL:
case RN5T618_ADCCNT3:
case RN5T618_IR_ADC1 ... RN5T618_IR_ADC3:
case RN5T618_IR_GPR:
case RN5T618_IR_GPF:
Expand Down

0 comments on commit 2f3dc25

Please sign in to comment.