diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-23 15:37:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-24 21:21:59 +0300 |
commit | 2081b2cf05d022ac6245334e8baa25f589e5635a (patch) | |
tree | c4bc07863941242d9d46b003180d9f4f9c21f7ba /mm/frontswap.c | |
parent | cea82d8af3986508a05949cfbb6ad8e99ffc15eb (diff) | |
download | linux-2081b2cf05d022ac6245334e8baa25f589e5635a.tar.xz |
ASoC: wm8731: 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>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/frontswap.c')
0 files changed, 0 insertions, 0 deletions