mfd: rn5t618: Mark ADC control register volatile
authorAndreas Kemnade <andreas@kemnade.info>
Fri, 17 Jan 2020 21:59:22 +0000 (22:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:32:18 +0000 (16:32 -0500)
commit 2f3dc25c0118de03a00ddc88b61f7216854f534d upstream.

There is a bit which gets cleared after conversion.

Fixes: 9bb9e29c78f8 ("mfd: Add Ricoh RN5T618 PMIC core driver")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/rn5t618.c

index f4037d42a60fa7bcc63f034e01779d0557597110..dd4251f105e024b4d29c745f5a0f7518da7c2006 100644 (file)
@@ -32,6 +32,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: