Skip to content

Commit

Permalink
mfd: wm5110: ARIZONA_CLOCK_CONTROL should be volatile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Fitzgerald authored and Lee Jones committed May 9, 2016
1 parent cd7cf27 commit 409b624
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/wm5110-tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 409b624

Please sign in to comment.