OSDN Git Service

ASoC: ssm2518: Cleanup manual bias level transitions
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 4 Sep 2014 17:44:11 +0000 (19:44 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 4 Sep 2014 19:10:25 +0000 (20:10 +0100)
commit0f0cc5a775ebe88d9be12489874bd2799b42e242
tree71b67750f1a52083dfcf69377f69627007be5bd1
parentcd5d3a151118cd815be15970db099bcdb3f0ad12
ASoC: ssm2518: Cleanup manual bias level transitions

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_OFF at the end of CODEC probe()
can also be removed as the CODEC is already in OFF state at this point.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ssm2518.c