ASoC: twl6040: Cleanup manual bias level transitions
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 26 Nov 2014 19:58:00 +0000 (20:58 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 27 Nov 2014 11:18:27 +0000 (11:18 +0000)
commitc4ee42a050e82855aa06d7217937b1549c95bef3
tree1da58389ca5cbebfc5ebe7a2d8a9bf5260cc97cf
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: twl6040: Cleanup manual bias level transitions

Set the CODEC driver's suspend_bias_off flag rather than manually going to
SND_SOC_BIAS_OFF in suspend and SND_SOC_BIAS_STANDBY in resume. This makes
the code a bit shorter and cleaner.

Since the ASoC core now takes care of setting the bias level to
SND_SOC_BIAS_OFF when removing the CODEC there is no need to do it manually
anymore either.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/twl6040.c