Re: [PATCH] ASoC: wm8962: Use force clear for WM8962_SYSCLK_ENA after reset
From: Charles Keepax
Date: Wed May 13 2020 - 04:22:36 EST
On Wed, May 13, 2020 at 01:30:35PM +0800, Shengjiu Wang wrote:
> When CLOCKING2 is non-volatile register, we need force clear
> the WM8962_SYSCLK_ENA bit after reset, for the value in cache
> maybe 0 but in hardware it is 1. Otherwise there will issue
> as below statement in driver.
>
> /* SYSCLK defaults to on; make sure it is off so we can safely
> * write to registers if the device is declocked.
>
> Fixes: c38b608504aa ("ASoC: wm8962: set CLOCKING2 as non-volatile register")
> Signed-off-by: Shengjiu Wang <shengjiu.wang@xxxxxxx>
> ---
Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
Thanks,
Charles