ASoC: sgtl5000: Fix wrong mask in some snd_soc_update_bits calls
authorAxel Lin <axel.lin@gmail.com>
Fri, 21 Oct 2011 01:54:43 +0000 (09:54 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 22 Oct 2011 09:35:20 +0000 (10:35 +0100)
commit33cb92cff9568dd9feb2825bd3605bf099bc6b63
tree07beb04d24815918578e9c2e5523396bba031c6f
parent3205e6629bc0eb747fb7d1b4b8fec00b7b919e58
ASoC: sgtl5000: Fix wrong mask in some snd_soc_update_bits calls

Ensure all mask bits are clear before setting new value.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c