ASoC: ad193x: Use snd_soc_update_bits for read-modify-write
authorAxel Lin <axel.lin@gmail.com>
Mon, 17 Oct 2011 22:25:08 +0000 (06:25 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Oct 2011 11:07:43 +0000 (12:07 +0100)
commit54c96cfd1ac815d278aa43f37d063b0c5972db1f
tree4fba328ed7a7fc087f4e4c86fb3013ab22857631
parent4b1cfcb4f36dca33b4552d9612537e6c0ca73639
ASoC: ad193x: 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>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Barry Song <21cnbao@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad193x.c