ASoC: wm8971: Use snd_soc_update_bits for read-modify-write
authorAxel Lin <axel.lin@gmail.com>
Tue, 4 Oct 2011 01:58:28 +0000 (09:58 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 4 Oct 2011 11:03:49 +0000 (12:03 +0100)
commitc6d43417dd0ff6d4431f6f52e6eac1f48ff779b2
tree076fb7ef681cb27c21606c3eacced3553e3271d3
parent11b9ce622a8c29740707e5fbb54cddf8d7892398
ASoC: wm8971: Use snd_soc_update_bits for read-modify-write

Use snd_soc_update_bits for read-modify-write register access instead of
open-coding it using snd_soc_read and snd_soc_write

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8971.c