diff options
author | Scott Jiang <scott.jiang.linux@gmail.com> | 2011-08-12 18:04:11 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-15 22:29:22 +0900 |
commit | 95c93d8525ebce1024bda7316f602ae45c36cd6f (patch) | |
tree | e238a87b342fec03077e3e42722f229921b1b49e /sound/soc/codecs/ad193x.h | |
parent | bf545ed72f2eeac664695a8ea2199d9ddaef6020 (diff) | |
download | linux-stable-95c93d8525ebce1024bda7316f602ae45c36cd6f.tar.gz linux-stable-95c93d8525ebce1024bda7316f602ae45c36cd6f.tar.bz2 linux-stable-95c93d8525ebce1024bda7316f602ae45c36cd6f.zip |
ASoC: ad193x: fix dac word len setting
dac word len value should left shift before setting
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
Diffstat (limited to 'sound/soc/codecs/ad193x.h')
-rw-r--r-- | sound/soc/codecs/ad193x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/ad193x.h b/sound/soc/codecs/ad193x.h index c1029d242c84..cccc2e8e5fbd 100644 --- a/sound/soc/codecs/ad193x.h +++ b/sound/soc/codecs/ad193x.h @@ -34,6 +34,7 @@ #define AD193X_DAC_LEFT_HIGH (1 << 3) #define AD193X_DAC_BCLK_INV (1 << 7) #define AD193X_DAC_CTRL2 0x804 +#define AD193X_DAC_WORD_LEN_SHFT 3 #define AD193X_DAC_WORD_LEN_MASK 0x18 #define AD193X_DAC_MASTER_MUTE 1 #define AD193X_DAC_CHNL_MUTE 0x805 |