[PATCH] ASoC: wm8962: Use force clear for WM8962_SYSCLK_ENA after reset
Charles Keepax
ckeepax at opensource.cirrus.com
Wed May 13 10:21:35 CEST 2020
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 at nxp.com>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list