]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Remove volatility from WM8900 POWER1 register
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 29 Oct 2010 22:41:17 +0000 (15:41 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Nov 2010 13:21:08 +0000 (09:21 -0400)
commita0e131bff8fa2a7fb21b7ac8e9efd1305fcd649f
tree7adb2eccc5200937fefaed02bf2a4594e0312d31
parent6da9ef7ddc5007aa41bef86d831c797c8c7fc76f
ASoC: Remove volatility from WM8900 POWER1 register

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>
Cc: stable@kernel.org
sound/soc/codecs/wm8900.c