]> rtime.felk.cvut.cz Git - linux-imx.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)
commitbfd37bb5f681961e255fd2f346c20fdae2ef3f27
treeb0fdaf21daa146ad50da046a51d21b9811c79b1e
parentc8fdc1b56611faa7b38eab6b99da5e20113661ff
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