ASoC: Mark WM5100 register map cache only when going into BIAS_OFF
commit11a17e56ac9c607c6eaecf64b618cd17c828ade0
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 18 Jan 2012 20:02:38 +0000 (18 20:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2012 17:21:27 +0000 (3 09:21 -0800)
tree22bd074512ac351a17e29e3b44b87e3ba9ff3c4a
parent358d0139281c8523064f3ce9783c4ec594cf26a0
ASoC: Mark WM5100 register map cache only when going into BIAS_OFF

commit e53e417331c57b9b97e3f8be870214a02c99265c upstream.

Writing to the registers won't work if we do actually manage to hit a fully
powered off state.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wm5100.c