]> 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)
commit1a1ae57525bd28a54fd14a44be1e4551bd24b25e
treeb0fdaf21daa146ad50da046a51d21b9811c79b1e
parent95ea37e048d7a61f87c3164088beae304b8f338b
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