]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8995: Cleanup manual bias level transitions
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 23 Nov 2014 12:37:44 +0000 (13:37 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 24 Nov 2014 18:41:05 +0000 (18:41 +0000)
commitb193355a6e2b422e3c2753717cbf0fd699a1dbf6
treeb78025f031cf618df85d86a1090bf6114edd1d3e
parent1b131de1c9f5c27001c18066b4f75532b612eb20
ASoC: wm8995: 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_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>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8995.c