summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/rt5639.c3
-rw-r--r--sound/soc/codecs/rt5640.c4
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, */
};