]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cq93vc: Cleanup manual bias level transitions
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 26 Nov 2014 19:57:51 +0000 (20:57 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 27 Nov 2014 11:11:50 +0000 (11:11 +0000)
commit059dd11e8cbe9fb2705737be1e76e4d9a5ab05e5
treeaa649432a2033e979486e8bf757c66c2f684f49e
parent29f54ea21579ed3e863814dba20e237c09a6eb9f
ASoC: cq93vc: Cleanup manual bias level transitions

Remove the manual transition back to SND_SOC_BIAS_STANDBY in resume. This
is already be automatically handled by the ASoC core.

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. While we are at it also remove the unused codec field from
the cq93vc struct so the whole probe function can be removed.

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