]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8900: Fix the mask defines
authorAxel Lin <axel.lin@gmail.com>
Sun, 16 Oct 2011 15:29:12 +0000 (23:29 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Oct 2011 21:49:28 +0000 (22:49 +0100)
commitf013823334e170d6599f17c53c9db60e45629a09
tree7c2377d4c4956569eef281bda4287eb92d2840d9
parent56651cd259e9166ff61355f17c3396cffcc14085
ASoC: wm8900: Fix the mask defines

Now we have done bitwise NOT against the mask bits for the defines of
WM8900_REG_CLOCKING1_BCLK_MASK,
WM8900_REG_CLOCKING1_OPCLK_MASK and WM8900_LRC_MASK.

But we don't have the bitwise NOT against the mask bits for the defines of
WM8900_REG_CLOCKING2_DAC_CLKDIV,
WM8900_REG_CLOCKING2_ADC_CLKDIV and WM8900_REG_DACCTRL_AIF_LRCLKRATE.

It is error prone to mix the inconsistent meaning for different mask defines.
So lets make the defines for each mask to be corresponding to the bits
defines in datasheet. Don't add extra "bitwise NOT" to the defines.

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