diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-23 15:04:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-24 18:04:50 +0000 |
commit | e03b975506545d21b1daa5c8310b59d66e74919c (patch) | |
tree | 34a0f2b3bbcec4983e846b335c534476dac40171 /sound/arm | |
parent | a6e4599f8d232b5911c46bb16f5a79b86f3dfb75 (diff) | |
download | linux-e03b975506545d21b1daa5c8310b59d66e74919c.tar.bz2 |
ASoC: uda134x: 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.
The manual transition to SND_SOC_BIAS_STANDBY at the end of CODEC probe()
can also be removed as the core will automatically do this after the CODEC
has been probed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/arm')
0 files changed, 0 insertions, 0 deletions