]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ssm2602: Re-enable oscillator after suspend
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 27 Sep 2011 09:08:46 +0000 (11:08 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 Sep 2011 10:20:38 +0000 (11:20 +0100)
commit9eeb68199ca09170f6e29c110171b7aae6153165
tree2aad8cff5703af0c301bd8dd3fa4f9ba365e20cc
parenta1436da8674e979c9cc0ffb2b9ded38aeb68d4ea
ASoC: ssm2602: Re-enable oscillator after suspend

Currently the the internal oscillator is powered down when entering BIAS_OFF
state, but not re-enabled when going back to BIAS_STANDBY. As a result the
CODEC will stop working after suspend if the internal oscillator is used to
generate the sysclock signal. This patch fixes it by clearing the appropriate
bit in the power down register when the CODEC is re-enabled.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/ssm2602.c