ASoC: Fix wrong define for AD1836_ADC_WORD_OFFSET
authorAxel Lin <axel.lin@gmail.com>
Tue, 22 Nov 2011 01:46:51 +0000 (09:46 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 22 Nov 2011 13:06:14 +0000 (13:06 +0000)
commit72531c9434fa884d20cb3c36fcec83752f32fdf4
tree54d93b34c10d8bacbb44e121e93e15f28c7655cd
parented3e80c4c991a52f9fce3421536a78e331ae0949
ASoC: Fix wrong define for AD1836_ADC_WORD_OFFSET

According to the datasheet:
The BIT[5:4] of ADC Control Register 2 is to control the word width.
        00 = 25 Bits
        01 = 20 Bits
        10 = 16 Bits
        11 = Invalid

Thus, the AD1836_ADC_WORD_OFFSET should be defined as 4.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/ad1836.h