]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max98095: Cleanup manual bias level transitions
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 20 Oct 2014 08:56:34 +0000 (10:56 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Oct 2014 10:30:03 +0000 (11:30 +0100)
commitb7f1c4147dccf881dd3ebbe2ce9dd7bebaadefd5
treec5380f60158c7d12c09ebdd0cf415936f9d75b98
parent794664fc5e82534aa444b079f807e339c4d8d9b5
ASoC: max98095: 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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98095.c