]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mfd: wm5110: ARIZONA_CLOCK_CONTROL should be volatile
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 26 Apr 2016 16:06:19 +0000 (17:06 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 14:41:35 +0000 (15:41 +0100)
Some of the bits in this register can be changed by the codec
so we must mark it volatile.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/wm5110-tables.c

index 8e74e71507e728df5a91144969578dcec8d24f3b..1ee68bd440fbc279874ceaf7ccefc37c692e9f5c 100644 (file)
@@ -3066,6 +3066,7 @@ static bool wm5110_volatile_register(struct device *dev, unsigned int reg)
        case ARIZONA_AOD_IRQ_RAW_STATUS:
        case ARIZONA_FX_CTRL2:
        case ARIZONA_ASRC_STATUS:
+       case ARIZONA_CLOCK_CONTROL:
        case ARIZONA_DSP_STATUS:
        case ARIZONA_DSP1_STATUS_1:
        case ARIZONA_DSP1_STATUS_2: