ASoC: sta32x: Convert to regmap
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Sep 2012 02:59:56 +0000 (10:59 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Sep 2012 09:26:10 +0000 (17:26 +0800)
commite674346ed7610cfc80d57e8b2d17c7582dac0809
tree40a9aa9338314bb7eb59da8409e6ba71a992844b
parentb28b6d6749a6e45ee71b252cd114262ca370e328
ASoC: sta32x: Convert to regmap

Long term all drivers should be using regmap directly. This is more
idiomatic and moves us towards the removal of the ASoC level cache
code.

The initialiasation of reserved register bits in probe() is slightly odd
as the defaults being written don't appear to match the silicon defaults
but the new code should have the same effect as the old code.

The watchdog code will now unconditionally do a mute and unmute when
resyncing but since we only sync when we are very sure there is something
to sync this should have no impact.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Johannes Stezenbach <js@sig21.net>
sound/soc/codecs/sta32x.c