ASoC: Remove volatility from WM8900 POWER1 register
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 29 Oct 2010 22:41:17 +0000 (15:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:46 +0000 (13:32 -0800)
commit778e50504f0b76eb691a564ef1089ddecde3609f
treea9ee81dbe7c919550dd6d8dc3283cc979db5a239
parent917aa3c5da5215de1ebe72d4ef2f84ef116c5ff8
ASoC: Remove volatility from WM8900 POWER1 register

commit 6d212d8e86fb4221bd91b9266b7567ee2b83bd01 upstream.

Not all bits can be read back from POWER1 so avoid corruption when using
a read/modify/write cycle by marking it non-volatile - the only thing we
read back from it is the chip revision which has diagnostic value only.
We can re-add later but that's a more invasive change than is suitable
for a bugfix.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8900.c