diff options
author | UK KIM <w0806.kim@samsung.com> | 2011-01-20 20:27:57 -0800 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2011-11-17 17:53:01 -0800 |
commit | 41470b264a66c3d102e819b132a4e997804ed5ae (patch) | |
tree | e4efa80a59738047b135ee8b0ee64ab77156a9fc /sound | |
parent | 687c9edbdaac4fd68fd78135aed9d4c7aa10c9f5 (diff) | |
download | kernel_samsung_crespo-41470b264a66c3d102e819b132a4e997804ed5ae.zip kernel_samsung_crespo-41470b264a66c3d102e819b132a4e997804ed5ae.tar.gz kernel_samsung_crespo-41470b264a66c3d102e819b132a4e997804ed5ae.tar.bz2 |
ASOC: set gain bit for voice communication.
Change-Id: I1b54e239278d2433bb00d7f6ac2cb43f5eea5c08
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Diffstat (limited to 'sound')
-rwxr-xr-x | sound/soc/codecs/wm8994_herring.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994_herring.c b/sound/soc/codecs/wm8994_herring.c index 8580e5a..74caf44 100755 --- a/sound/soc/codecs/wm8994_herring.c +++ b/sound/soc/codecs/wm8994_herring.c @@ -2739,6 +2739,15 @@ int wm8994_set_codec_gain(struct snd_soc_codec *codec, u16 mode, u16 device) case RECORDING_CAM_BT: gain_set_bits |= RECORDING_CAM_BT; break; + case RECORDING_VC_MAIN: + gain_set_bits |= RECORDING_VC_MAIN; + break; + case RECORDING_VC_HP: + gain_set_bits |= RECORDING_VC_HP; + break; + case RECORDING_VC_BT: + gain_set_bits |= RECORDING_VC_BT; + break; default: pr_err("recording gain flag is wrong\n"); } |