summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ssm2518.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-09-04 19:44:10 +0200
committerMark Brown <broonie@kernel.org>2014-09-04 20:10:25 +0100
commitcd5d3a151118cd815be15970db099bcdb3f0ad12 (patch)
tree029f3a14e5f6e45ec2465206f2bfea573a901638 /sound/soc/codecs/ssm2518.c
parent0e0f9b960a011a9e3815004f37cc475229170dfd (diff)
ASoC: adav80x: 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. While we are at it also remove the regcache_cache_only() calls from suspend/resume as there shouldn't be any IO between suspend and resume. 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/soc/codecs/ssm2518.c')
0 files changed, 0 insertions, 0 deletions