From d3a0fc7f77d13d04850103eabd9d7db3548a67ce Mon Sep 17 00:00:00 2001 From: Uk Kim Date: Sat, 15 Jan 2011 09:08:09 +0900 Subject: ASOC: support multi gain tables for several operator. Change-Id: Iffc4340f37e80c446e212d656c5605687da6555d Signed-off-by: Uk Kim --- sound/soc/codecs/wm8994_samsung.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sound/soc/codecs/wm8994_samsung.h') 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) -- cgit v1.1