diff options
author | Nikesh Oswal <noswal@nvidia.com> | 2011-08-25 10:56:51 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-08-25 11:41:36 -0700 |
commit | 6240f5cf8105f50fabc3cf58915f6f94e03ceff7 (patch) | |
tree | 3939c33bd49dcb6cfac87ec79f68b02d290f60ef /sound/soc | |
parent | 77f5ca067071f1ae06532fe0f471b3913804e9f6 (diff) |
Asoc: tegra: wm8903: increase mic gain
increase gain for digital mic
Bug 865954
Change-Id: I832a0703ffba27eb8d8b665edf432239c7628711
Reviewed-on: http://git-master/r/49138
Tested-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/tegra/tegra_soc_wm8903.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_soc_wm8903.c b/sound/soc/tegra/tegra_soc_wm8903.c index f8ab15c30b86..05e6e71797b6 100644 --- a/sound/soc/tegra/tegra_soc_wm8903.c +++ b/sound/soc/tegra/tegra_soc_wm8903.c @@ -62,6 +62,7 @@ extern struct wired_jack_conf tegra_wired_jack_conf; #define ADC_DIGITAL_VOL_9DB 0x1D8 #define ADC_DIGITAL_VOL_12DB 0x1E0 +#define ADC_DIGITAL_VOL_17_625_DB 0x1FF #define ADC_ANALOG_VOLUME 0x1C #define SET_REG_VAL(r,m,l,v) (((r)&(~((m)<<(l))))|(((v)&(m))<<(l))) @@ -186,7 +187,7 @@ static int tegra_hifi_hw_params(struct snd_pcm_substream *substream, snd_soc_write(codec, WM8903_GPIO_CONTROL_2, CtrlReg); /* Enable ADC Digital volumes */ - VolumeCtrlReg = ADC_DIGITAL_VOL_9DB; + VolumeCtrlReg = ADC_DIGITAL_VOL_17_625_DB; snd_soc_write(codec, WM8903_ADC_DIGITAL_VOLUME_LEFT, VolumeCtrlReg); |