From: Richard Fitzgerald Date: Tue, 26 Apr 2016 16:06:19 +0000 (+0100) Subject: mfd: wm5110: ARIZONA_CLOCK_CONTROL should be volatile X-Git-Tag: v4.7-rc1~103^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=409b6246cd1c564ea377d5cbe8c6fd184e96119e;p=thirdparty%2Fkernel%2Fstable.git mfd: wm5110: ARIZONA_CLOCK_CONTROL should be volatile Some of the bits in this register can be changed by the codec so we must mark it volatile. Signed-off-by: Richard Fitzgerald Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c index 8e74e71507e72..1ee68bd440fbc 100644 --- a/drivers/mfd/wm5110-tables.c +++ b/drivers/mfd/wm5110-tables.c @@ -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: