diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-10-20 12:56:37 +0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-22 14:32:51 +0400 |
commit | 2062c1ff3596e1ae8aafe8082460d03d9a420282 (patch) | |
tree | 77970d8e4bcdf5d1902eec6d3403c562f5e20b72 /sound/soc/codecs/stac9766.c | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
download | linux-2062c1ff3596e1ae8aafe8082460d03d9a420282.tar.xz |
ASoC: sta350: 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 'sound/soc/codecs/stac9766.c')
0 files changed, 0 insertions, 0 deletions