rt5616: record from mic2 because sdk default use mic2
author邱建斌 <qjb@rock-chips.com>
Sat, 27 Jul 2013 01:44:27 +0000 (09:44 +0800)
committer邱建斌 <qjb@rock-chips.com>
Sat, 27 Jul 2013 01:44:27 +0000 (09:44 +0800)
sound/soc/codecs/rt5616.c

index 44eaa2346ed0e639ea746e834c22284ff2db7ccb..6472a9e93c7b023a0c4c8ea3bf99a7a34ed62f29 100755 (executable)
@@ -51,10 +51,10 @@ static struct rt5616_init_reg init_list[] = {
        /*LOUT*/
        {RT5616_LOUT_MIXER      , 0x3000},
        /*Capture*/
-       {RT5616_REC_L2_MIXER    , 0x006d}, //MIC1 -> RECMIXL
-       {RT5616_REC_R2_MIXER    , 0x006d}, //MIC1 -> RECMIXR
-       //{RT5616_REC_L2_MIXER  , 0x006b}, //MIC2 -> RECMIXL
-       //{RT5616_REC_R2_MIXER  , 0x006b}, //MIC2 -> RECMIXR
+       //{RT5616_REC_L2_MIXER  , 0x006d}, //MIC1 -> RECMIXL
+       //{RT5616_REC_R2_MIXER  , 0x006d}, //MIC1 -> RECMIXR
+       {RT5616_REC_L2_MIXER    , 0x006b}, //MIC2 -> RECMIXL
+       {RT5616_REC_R2_MIXER    , 0x006b}, //MIC2 -> RECMIXR
        {RT5616_ADC_DIG_VOL     , 0xafaf}, //mute adc for pop noise
        /*MIC*/
        {RT5616_STO1_ADC_MIXER  , 0x3802},