ASoC: tlv320aic3x: Optimize PLL programming in aic3x_set_bias_level
authorJarkko Nikula <jhnikula@gmail.com>
Fri, 10 Sep 2010 11:23:29 +0000 (14:23 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Sat, 11 Sep 2010 08:03:20 +0000 (09:03 +0100)
commitc23fd751dc2953263be5989ca537fdee14dee46e
tree5a0ff082594493ca0a296257b971758fcdd298e7
parent3484457fc5fcdb650e03d375f1f6e66db93d6109
ASoC: tlv320aic3x: Optimize PLL programming in aic3x_set_bias_level

There is only need to enable/disable once the PLL when the bias is going
between on, prepare, standby and off states.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/tlv320aic3x.c