asoc; tegra: Increase Realtek speaker gain.
[linux-2.6.git] / sound / soc / codecs / rt5640.c
index 984f72c..8f71124 100644 (file)
@@ -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, */
 };