ASoC: WM8995: Fix incorrect use of snd_soc_update_bits()
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Wed, 19 Jan 2011 12:55:28 +0000 (12:55 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Jan 2011 14:49:32 +0000 (14:49 +0000)
commita28287925555c93984115d37a1a25315ea369764
tree75fbfbe0cdd371b38ae231d7b0ba93a6f1937bf1
parent52fc43f7c1c416b114e88ff39635c36e67ef15b6
ASoC: WM8995: Fix incorrect use of snd_soc_update_bits()

In the wm8995_set_tristate() function when updating the register
bits use the value and not the register index as the value argument.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8995.c