ASoC: wm8990: Use snd_soc_update_bits for read-modify-write
authorAxel Lin <axel.lin@gmail.com>
Fri, 14 Oct 2011 06:30:05 +0000 (14:30 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 14 Oct 2011 19:29:05 +0000 (20:29 +0100)
commit79d07265137c166cf298d74a29038a76458ec46a
treeb191e95f2d794af56390d39fea188eae7c3f4877
parent790f932500061ce49c52ef9dbd48fbfbdeb631c5
ASoC: wm8990: 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

This patch also includes a comment fix in wm8990_set_dai_pll(),
if freq_in and freq_out are 0, what we do is to clear WM8990_PLL_ENA bit.
Thus the comment should be "Turn off PLL".

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