[PATCH v1] ASoC: wm8904: fix wrong outputs volume after power reactivation

Charles Keepax ckeepax at opensource.cirrus.com
Wed Dec 28 11:04:45 CET 2022


On Fri, Dec 23, 2022 at 09:02:47AM +0100, Francesco Dolcini wrote:
> From: Emanuele Ghidoli <emanuele.ghidoli at toradex.com>
> 
> Restore volume after charge pump and PGA activation to ensure
> that volume settings are correctly applied when re-enabling codec
> from SND_SOC_BIAS_OFF state.
> CLASS_W, CHARGE_PUMP and POWER_MANAGEMENT_2 register configuration
> affect how the volume register are applied and must be configured first.
> 
> Fixes: a91eb199e4dc ("ASoC: Initial WM8904 CODEC driver")
> Link: https://lore.kernel.org/all/c7864c35-738c-a867-a6a6-ddf9f98df7e7@gmail.com/
> Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli at toradex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list