diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-11-22 09:46:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-09 08:54:33 -0800 |
commit | adc771853323bb695e50eab52299b82d675cd665 (patch) | |
tree | 90d46bd1eedd4c0ff3836b0879d46d35fafa4f80 /include | |
parent | 1db3bb31add93148b1a7ae35d02bff41d9357e9c (diff) |
ASoC: Fix wrong define for AD1836_ADC_WORD_OFFSET
commit 72531c9434fa884d20cb3c36fcec83752f32fdf4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions