3 Oct
2016
3 Oct
'16
4:40 p.m.
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@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