ASoC: es8328: Cleanup manual bias level transitions
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 6 Sep 2014 12:29:32 +0000 (14:29 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 6 Sep 2014 12:38:30 +0000 (13:38 +0100)
commit8d01370f59856a0ac5b222878667d52477b589f0
treeec9f0bf2bf32a88ed3d2302df5cb60dbff6fa6c6
parentbade5f09ca5bfd5a5f499a682509a9109472bca8
ASoC: es8328: 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.

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