diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-26 20:58:00 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-27 11:18:27 +0000 |
commit | c4ee42a050e82855aa06d7217937b1549c95bef3 (patch) | |
tree | 1da58389ca5cbebfc5ebe7a2d8a9bf5260cc97cf /include/sound | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
download | linux-c4ee42a050e82855aa06d7217937b1549c95bef3.tar.bz2 |
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>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions