From: 宋秀杰 Date: Fri, 28 Sep 2012 09:35:49 +0000 (+0800) Subject: phonepad: update record function. X-Git-Tag: firefly_0821_release~8508 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=043f9428b86878a50400f2d083581d089ac4c775;p=firefly-linux-kernel-4.4.55.git phonepad: update record function. --- diff --git a/sound/soc/codecs/rt3261.c b/sound/soc/codecs/rt3261.c index 9756c371946f..9d45ef2966a5 100644 --- a/sound/soc/codecs/rt3261.c +++ b/sound/soc/codecs/rt3261.c @@ -825,7 +825,7 @@ static const SOC_ENUM_SINGLE_DECL( /* Interface data select */ static const char *rt3261_data_select[] = { - "Normal", "left copy to right", "right copy to left", "Swap"}; + "Normal", "Swap", "left copy to right", "right copy to left"}; static const SOC_ENUM_SINGLE_DECL(rt3261_if1_dac_enum, RT3261_DIG_INF_DATA, RT3261_IF1_DAC_SEL_SFT, rt3261_data_select); @@ -1040,6 +1040,11 @@ static const struct snd_kcontrol_new rt3261_snd_controls[] = { SOC_ENUM_EXT("Modem Input Switch", rt3261_modem_input_switch_enum, rt3261_modem_input_switch_get, rt3261_modem_input_switch_put), #endif + + SOC_ENUM("ADC IF1 Data Switch", rt3261_if1_adc_enum), + SOC_ENUM("DAC IF1 Data Switch", rt3261_if1_dac_enum), + SOC_ENUM("ADC IF2 Data Switch", rt3261_if2_adc_enum), + SOC_ENUM("DAC IF2 Data Switch", rt3261_if2_dac_enum), }; /**