Re: [PATCH 1/2] mfd: wm5110: ARIZONA_CLOCK_CONTROL should be volatile

From: Lee Jones
Date: Mon May 09 2016 - 07:16:41 EST


On Tue, 26 Apr 2016, Richard Fitzgerald wrote:

> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/wm5110-tables.c | 1 +
> 1 file changed, 1 insertion(+)

Applied, thanks.

> diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c
> index 8e74e71..1ee68bd 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:

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog