diff options
author | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2022-12-23 09:02:47 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-29 20:25:00 +0000 |
commit | 472a6309c6467af89dbf660a8310369cc9cb041f (patch) | |
tree | caea2a97423711098c170524d2209f31fe8c18e5 /lib/crc7.c | |
parent | 810948f45d99c46b60852ef2a5a2777c12d6bb3e (diff) |
ASoC: wm8904: fix wrong outputs volume after power reactivation
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@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221223080247.7258-1-francesco@dolcini.it
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions