[alsa-devel] [PATCH 1/5] ASoC: tas571x: fix missing bias save level
Petr Kulhavy
brain at jikos.cz
Mon Oct 3 16:40:46 CEST 2016
The tas571x_set_bias_level() was not saving the new bias level to
codec->dapm.bias_level. This had the effect that bias was switching between
standby and off levels and never entered the on level.
This fix saves the bias level before returning from the function.
Signed-off-by: Petr Kulhavy <brain at jikos.cz>
---
sound/soc/codecs/tas571x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/tas571x.c b/sound/soc/codecs/tas571x.c
index df5e5cb..e996313 100644
--- a/sound/soc/codecs/tas571x.c
+++ b/sound/soc/codecs/tas571x.c
@@ -360,6 +360,7 @@ static int tas571x_set_bias_level(struct snd_soc_codec *codec,
break;
}
+ codec->dapm.bias_level = level;
return 0;
}
--
2.7.4
More information about the Alsa-devel
mailing list