ASoC: ssm2602: Use snd_soc_update_bits for read-modify-write
authorAxel Lin <axel.lin@gmail.com>
Wed, 19 Oct 2011 06:07:31 +0000 (14:07 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Oct 2011 14:22:01 +0000 (15:22 +0100)
commit2ee9c183f39f6e77f65a9e3414ff469a4dc34a0b
treefe9983d504e94610aa5f1f255c9762a58df0ebcb
parentf8faadb6f204049252fe832d28df04640fa7e88e
ASoC: ssm2602: 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: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ssm2602.c