phonepad: rt3261 change some error define.
author宋秀杰 <sxj@rock-chips.com>
Tue, 20 Nov 2012 01:38:18 +0000 (09:38 +0800)
committer宋秀杰 <sxj@rock-chips.com>
Tue, 20 Nov 2012 01:38:18 +0000 (09:38 +0800)
arch/arm/mach-rk30/board-rk30-phonepad.c
sound/soc/codecs/rt3261.c

index 511b46c8db70c0ddff72c35a1ddcb44158848eb9..d6e378baf40e878bbab25ca923c707475ae5e948 100755 (executable)
@@ -1170,8 +1170,8 @@ enum {
 };
 
 enum {
-       NORMAL,
-       SWAP,
+       LR_NORMAL,
+       LR_SWAP,
        LEFT_COPY_TO_RIGHT,
        RIGHT_COPY_LEFT,
 };
@@ -1192,8 +1192,8 @@ static struct rt3261_platform_data rt3261_info = {
        .modem_input_mode               = DIFFERENTIAL,
        .lout_to_modem_mode             = DIFFERENTIAL,
        .spk_amplify                    = SPK_AMPLIFY_ZERO_POINT_SIX_WATT,
-       .playback_if1_data_control      = NORMAL,
-       .playback_if2_data_control      = NORMAL,
+       .playback_if1_data_control      = LR_NORMAL,
+       .playback_if2_data_control      = LR_NORMAL,
 };
 #endif
 
index e01113443682514bad2381e88261eb2849630332..794c015939b52e1ee0c4c44913ff3bbf586ebecf 100755 (executable)
@@ -98,7 +98,7 @@ static struct rt3261_init_reg init_list[] = {
        {RT3261_SPK_VOL         , 0x8888},//SPKMIX -> SPKVOL
        {RT3261_HP_VOL          , 0x8888},
        {RT3261_OUTPUT          , 0x8888},//unmute OUTVOLL/R
-       {RT3261_SPO_CLSD_RATIO  , 0x0003},
+       {RT3261_SPO_CLSD_RATIO  , 0x0001},
        {RT3261_I2S1_SDP        , 0xd000},
 };
 #define RT3261_INIT_REG_LEN ARRAY_SIZE(init_list)