ASoC: rt5631: Cleanup bias level transitions
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 23 Nov 2014 12:47:52 +0000 (13:47 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 24 Nov 2014 18:07:05 +0000 (18:07 +0000)
commite2dce944cc2bf22d0295330cbdcbd2ad7bd47cb4
treeb94d4ccac307d08aed6118be65138313e6ef38d5
parent187024b36c635bd454c1b1587b58c9439d3a46ad
ASoC: rt5631: Cleanup 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/rt5631.c