ASoC: wm8996: Inline wm8996_reset() and optimise cache-only usage
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Jun 2012 10:41:16 +0000 (18:41 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 25 Jun 2012 08:55:01 +0000 (09:55 +0100)
commitd4b3d0fbb7617a65cb919ac86110b0790ae568c5
tree6f23bd4a3d65d00134b272dd44ef2376b4fea0c9
parent625c4888fff33c300779ed38963e1ee7ad878a12
ASoC: wm8996: Inline wm8996_reset() and optimise cache-only usage

There is only one caller and this allows us to cleanly leave the CODEC
with the internal LDO powered down which is the default state we're
looking for and means that we can robustly disable the register cache
only when we either disable the LDO or power down the external
regulators.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8996.c