diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2020-01-17 22:59:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-11 04:34:14 -0800 |
commit | 5e4013f92e7cb2a8a13ba0ddb18d1ba4dad1f084 (patch) | |
tree | 4106cb38d4dcb2b5c34814b72ad4f3d7b51f9c9a /drivers/mfd/rn5t618.c | |
parent | 17d00207842387e8dd4ac559f2e7177f27771d79 (diff) | |
download | linux-stable-5e4013f92e7cb2a8a13ba0ddb18d1ba4dad1f084.tar.gz linux-stable-5e4013f92e7cb2a8a13ba0ddb18d1ba4dad1f084.tar.bz2 linux-stable-5e4013f92e7cb2a8a13ba0ddb18d1ba4dad1f084.zip |
mfd: rn5t618: Mark ADC control register volatile
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>
Diffstat (limited to 'drivers/mfd/rn5t618.c')
-rw-r--r-- | drivers/mfd/rn5t618.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618.c index f4037d42a60f..dd4251f105e0 100644 --- a/drivers/mfd/rn5t618.c +++ b/drivers/mfd/rn5t618.c @@ -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: |