]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8994: Apply volume updates with clocks enabled
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 11:31:32 +0000 (12:31 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 13:10:41 +0000 (14:10 +0100)
commit4ef0bb2078b12dddadc4a453f41955a3df830c64
treeb0fdaf21daa146ad50da046a51d21b9811c79b1e
parenta0857ef6325c2288ebf55be57f37f9c989ac8d24
ASoC: wm8994: Apply volume updates with clocks enabled

Volume updates may not be acted upon if there is no clock applied when
the volume update is written. Ensure this doesn't happen by writing out
registers with volume updates after we enable each of the clocks.

There are more registers updated than before as previously we were
relying on wm_hubs to set those for controls it manages.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8994.c