diff options
author | Uk Kim <w0806.kim@samsung.com> | 2011-01-15 09:08:09 +0900 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2011-11-17 17:52:51 -0800 |
commit | d3a0fc7f77d13d04850103eabd9d7db3548a67ce (patch) | |
tree | b8a304d90ed046ea6464a9a30b856677eeb43445 /sound/soc/codecs/wm8994_samsung.h | |
parent | bb0dfdaff64373d80dfe724443e77506898cbb3b (diff) | |
download | kernel_samsung_crespo-d3a0fc7f77d13d04850103eabd9d7db3548a67ce.zip kernel_samsung_crespo-d3a0fc7f77d13d04850103eabd9d7db3548a67ce.tar.gz kernel_samsung_crespo-d3a0fc7f77d13d04850103eabd9d7db3548a67ce.tar.bz2 |
ASOC: support multi gain tables for several operator.
Change-Id: Iffc4340f37e80c446e212d656c5605687da6555d
Signed-off-by: Uk Kim <w0806.kim@samsung.com>
Diffstat (limited to 'sound/soc/codecs/wm8994_samsung.h')
-rwxr-xr-x | sound/soc/codecs/wm8994_samsung.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994_samsung.h b/sound/soc/codecs/wm8994_samsung.h index c82753c..e28937c 100755 --- a/sound/soc/codecs/wm8994_samsung.h +++ b/sound/soc/codecs/wm8994_samsung.h @@ -54,7 +54,17 @@ Codec Output Path BIT #define RECORDING_MODE (0x01 << 14) #define FMRADIO_MODE (0x01 << 15) -#define GAIN_DIVISION_BIT (0x01 << 16) +/* + * devide codec gain table + * GAIN_DIVISION_BIT_1 : EUR + * GAIN_DIVISION_BIT_2 : AT&T + * GAIN_DIVISION_BIT_3 : EUR_T + */ + +#define GAIN_DIVISION_BIT_1 (0x01 << 16) +#define GAIN_DIVISION_BIT_2 (0x01 << 17) +#define GAIN_DIVISION_BIT_3 (0x01 << 18) + #define COMMON_SET_BIT (0x01 << 0) #define PLAYBACK_RCV (0x01 << 1) #define PLAYBACK_SPK (0x01 << 2) |