ASoC: wm8580: Use snd_soc_update_bits for read-modify-write
authorAxel Lin <axel.lin@gmail.com>
Mon, 17 Oct 2011 03:50:46 +0000 (11:50 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Oct 2011 21:49:28 +0000 (22:49 +0100)
commita6785d7df8d2790d99a4788a612764a92fb9f498
tree897d3ba85a299a6a24e087220e2810a086cc1595
parent29c6a01df8de1329303da09ca9793e9f65608216
ASoC: wm8580: 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/wm8580.c