Commit 9c3b21cc authored by Andrejs Cainikovs's avatar Andrejs Cainikovs Committed by Mark Brown

ASoC: nau8822: set NAU8822_REFIMP_80K only once

Following bias state machine logic this bit is set twice before playback.
This change makes sure this bit set is set only once.
Signed-off-by: default avatarAndrejs Cainikovs <andrejs.cainikovs@toradex.com>
Suggested-by: default avatarEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Link: https://msgid.link/r/20240613084652.13113-3-andrejs.cainikovs@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9292013b
......@@ -942,6 +942,8 @@ static int nau8822_set_bias_level(struct snd_soc_component *component,
{
switch (level) {
case SND_SOC_BIAS_ON:
break;
case SND_SOC_BIAS_PREPARE:
snd_soc_component_update_bits(component,
NAU8822_REG_POWER_MANAGEMENT_1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment