diff options
author | Scott Peterson <speterson@nvidia.com> | 2013-05-26 10:01:05 -0700 |
---|---|---|
committer | Harshada Kale <hkale@nvidia.com> | 2013-06-10 08:20:42 -0700 |
commit | fcfd1b3942e91851a59e95518e723704dd896f93 (patch) | |
tree | cf19937fa08bae4b458a7b6022d6852f712ad0ec /sound | |
parent | 947d26e7d1adb3b15825420325c8cf8b5e45bd51 (diff) |
asoc; tegra: Increase Realtek speaker gain.
Increase the class D speaker gain in Realtek
codec.
Bug 1278531
Change-Id: I55dc5c809a291ff782a2c36ebab1fb07148bc5ee
Signed-off-by: Scott Peterson <speterson@nvidia.com>
(cherry picked from commit bfee36e20c7134d611fe578abbe3a864c9fdaf6a)
Reviewed-on: http://git-master/r/234957
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rt5639.c | 3 | ||||
-rw-r--r-- | sound/soc/codecs/rt5640.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5639.c b/sound/soc/codecs/rt5639.c index 67313c069e14..3ff3b7e5e349 100644 --- a/sound/soc/codecs/rt5639.c +++ b/sound/soc/codecs/rt5639.c @@ -86,7 +86,7 @@ static struct rt5639_init_reg init_list[] = { {RT5639_SPK_L_MIXER , 0x0036},/* DACL1 -> SPKMIXL */ {RT5639_SPK_R_MIXER , 0x0036},/* DACR1 -> SPKMIXR */ {RT5639_SPK_VOL , 0x8b8b},/* SPKMIX -> SPKVOL */ - {RT5639_SPO_CLSD_RATIO , 0x0001}, + {RT5639_SPO_CLSD_RATIO , 0x0004}, {RT5639_SPO_L_MIXER , 0xe800},/* SPKVOLL -> SPOLMIX */ {RT5639_SPO_R_MIXER , 0x2800},/* SPKVOLR -> SPORMIX */ /*{RT5639_SPO_L_MIXER , 0xb800},*//* DAC -> SPOLMIX */ @@ -198,6 +198,7 @@ static const u16 rt5639_reg[RT5639_VENDOR_ID2 + 1] = { [RT5639_SV_ZCD1] = 0x0809, [RT5639_VENDOR_ID1] = 0x10ec, [RT5639_VENDOR_ID2] = 0x6231, + /* [RT5639_PV_DET_SPK_G] = 0xc000, */ }; static int rt5639_reset(struct snd_soc_codec *codec) diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index 984f72cac6eb..8f71124233be 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -87,7 +87,7 @@ static struct rt5640_init_reg init_list[] = { {RT5640_SPK_L_MIXER , 0x0036},/* DACL1 -> SPKMIXL */ {RT5640_SPK_R_MIXER , 0x0036},/* DACR1 -> SPKMIXR */ {RT5640_SPK_VOL , 0x8888},/* SPKMIX -> SPKVOL */ - {RT5640_SPO_CLSD_RATIO , 0x0001}, + {RT5640_SPO_CLSD_RATIO , 0x0004}, {RT5640_SPO_L_MIXER , 0xe800},/* SPKVOLL -> SPOLMIX */ {RT5640_SPO_R_MIXER , 0x2800},/* SPKVOLR -> SPORMIX */ /* {RT5640_SPO_L_MIXER , 0xb800},//DAC -> SPOLMIX */ @@ -198,6 +198,8 @@ static const u16 rt5640_reg[RT5640_VENDOR_ID2 + 1] = { [RT5640_SV_ZCD1] = 0x0809, [RT5640_VENDOR_ID1] = 0x10ec, [RT5640_VENDOR_ID2] = 0x6231, + [RT5640_VENDOR_ID2] = 0x6231, + /* [RT5640_PV_DET_SPK_G] = 0xc000, */ }; |