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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 19 Jun 2012 22:18:13 +0000 (23:18 +0100)
commit0056a5555414ff62439e07deb3a40dd7f11156d6
tree571268373a3be17182d1b4853e6bd4c98c2b5636
parentfb6f6bf562ad3364027ab1fad771a2e45b4056a4
ASoC: wm8994: Apply volume updates with clocks enabled

commit bfd37bb5f681961e255fd2f346c20fdae2ef3f27 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/soc/codecs/wm8994.c