ASoC: wm8994: Make sure we disable FLL bypass when stopping the FLL
authorKyung-Kwee Ryu <Kyung-Kwee.Ryu@wolfsonmicro.com>
Tue, 24 Apr 2012 17:01:48 +0000 (18:01 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Apr 2012 08:50:50 +0000 (09:50 +0100)
commite05854ddaa012f3369884acf61ec9953285404b4
tree825e04ed8b624a1b982559026a8cf8172a1755b4
parentdd7b10b30c40dddb9750926d78cfe89c0cd8434d
ASoC: wm8994: Make sure we disable FLL bypass when stopping the FLL

If FLL bypass is left enabled when we disable the CODEC then the output
clock will be left running which consumes a small amount of additional
current. Only enable bypass when there is an output.

Signed-off-by: Kyung-Kwee Ryu <Kyung-Kwee.Ryu@wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8994.c