]> rtime.felk.cvut.cz Git - linux-imx.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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:09 +0000 (23:40 +0100)
commitd46d45da0b45490b805f70e3d2e05dd7fbf58a23
treee2cb09e2edd107de36c68be559b0c985879daaac
parentd3f813da18f83a31f2678988b450e6a1c94c95ed
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
sound/soc/codecs/wm8900.c