@@ -11,13 +11,11 @@ enum {
1111 ALC662_3ST_6ch ,
1212 ALC662_5ST_DIG ,
1313 ALC662_LENOVO_101E ,
14- ALC662_ASUS_EEEPC_P701 ,
1514 ALC662_ASUS_EEEPC_EP20 ,
1615 ALC663_ASUS_M51VA ,
1716 ALC663_ASUS_G71V ,
1817 ALC663_ASUS_H13 ,
1918 ALC663_ASUS_G50V ,
20- ALC662_ECS ,
2119 ALC663_ASUS_MODE1 ,
2220 ALC662_ASUS_MODE2 ,
2321 ALC663_ASUS_MODE3 ,
@@ -222,20 +220,6 @@ static const struct snd_kcontrol_new alc662_lenovo_101e_mixer[] = {
222220 { } /* end */
223221};
224222
225- static const struct snd_kcontrol_new alc662_eeepc_p701_mixer [] = {
226- HDA_CODEC_VOLUME ("Master Playback Volume" , 0x02 , 0x0 , HDA_OUTPUT ),
227- ALC262_HIPPO_MASTER_SWITCH ,
228-
229- HDA_CODEC_VOLUME ("Mic Boost Volume" , 0x18 , 0 , HDA_INPUT ),
230- HDA_CODEC_VOLUME ("Mic Playback Volume" , 0x0b , 0x0 , HDA_INPUT ),
231- HDA_CODEC_MUTE ("Mic Playback Switch" , 0x0b , 0x0 , HDA_INPUT ),
232-
233- HDA_CODEC_VOLUME ("Internal Mic Boost Volume" , 0x19 , 0 , HDA_INPUT ),
234- HDA_CODEC_VOLUME ("Internal Mic Playback Volume" , 0x0b , 0x1 , HDA_INPUT ),
235- HDA_CODEC_MUTE ("Internal Mic Playback Switch" , 0x0b , 0x1 , HDA_INPUT ),
236- { } /* end */
237- };
238-
239223static const struct snd_kcontrol_new alc662_eeepc_ep20_mixer [] = {
240224 ALC262_HIPPO_MASTER_SWITCH ,
241225 HDA_CODEC_VOLUME ("Front Playback Volume" , 0x02 , 0x0 , HDA_OUTPUT ),
@@ -514,12 +498,6 @@ static const struct hda_verb alc662_sue_init_verbs[] = {
514498 {}
515499};
516500
517- static const struct hda_verb alc662_eeepc_sue_init_verbs [] = {
518- {0x18 , AC_VERB_SET_UNSOLICITED_ENABLE , AC_USRSP_EN | ALC_MIC_EVENT },
519- {0x1b , AC_VERB_SET_UNSOLICITED_ENABLE , AC_USRSP_EN | ALC_HP_EVENT },
520- {}
521- };
522-
523501/* Set Unsolicited Event*/
524502static const struct hda_verb alc662_eeepc_ep20_sue_init_verbs [] = {
525503 {0x1b , AC_VERB_SET_PIN_WIDGET_CONTROL , PIN_OUT },
@@ -703,16 +681,6 @@ static void alc662_lenovo_101e_setup(struct hda_codec *codec)
703681 spec -> automute_mode = ALC_AUTOMUTE_AMP ;
704682}
705683
706- static void alc662_eeepc_setup (struct hda_codec * codec )
707- {
708- struct alc_spec * spec = codec -> spec ;
709-
710- alc262_hippo1_setup (codec );
711- spec -> ext_mic_pin = 0x18 ;
712- spec -> int_mic_pin = 0x19 ;
713- spec -> auto_mic = 1 ;
714- }
715-
716684static void alc662_eeepc_ep20_setup (struct hda_codec * codec )
717685{
718686 struct alc_spec * spec = codec -> spec ;
@@ -894,9 +862,7 @@ static const char * const alc662_models[ALC662_MODEL_LAST] = {
894862 [ALC662_3ST_6ch ] = "3stack-6ch" ,
895863 [ALC662_5ST_DIG ] = "5stack-dig" ,
896864 [ALC662_LENOVO_101E ] = "lenovo-101e" ,
897- [ALC662_ASUS_EEEPC_P701 ] = "eeepc-p701" ,
898865 [ALC662_ASUS_EEEPC_EP20 ] = "eeepc-ep20" ,
899- [ALC662_ECS ] = "ecs" ,
900866 [ALC663_ASUS_M51VA ] = "m51va" ,
901867 [ALC663_ASUS_G71V ] = "g71v" ,
902868 [ALC663_ASUS_H13 ] = "h13" ,
@@ -913,7 +879,6 @@ static const char * const alc662_models[ALC662_MODEL_LAST] = {
913879};
914880
915881static const struct snd_pci_quirk alc662_cfg_tbl [] = {
916- SND_PCI_QUIRK (0x1019 , 0x9087 , "ECS" , ALC662_ECS ),
917882 SND_PCI_QUIRK (0x1043 , 0x1000 , "ASUS N50Vm" , ALC663_ASUS_MODE1 ),
918883 SND_PCI_QUIRK (0x1043 , 0x1092 , "ASUS NB" , ALC663_ASUS_MODE3 ),
919884 SND_PCI_QUIRK (0x1043 , 0x1173 , "ASUS K73Jn" , ALC663_ASUS_MODE1 ),
@@ -971,9 +936,7 @@ static const struct snd_pci_quirk alc662_cfg_tbl[] = {
971936 SND_PCI_QUIRK (0x1043 , 0x19e3 , "ASUS NB" , ALC663_ASUS_MODE1 ),
972937 SND_PCI_QUIRK (0x1043 , 0x19f3 , "ASUS NB" , ALC663_ASUS_MODE4 ),
973938 SND_PCI_QUIRK (0x1043 , 0x8290 , "ASUS P5GC-MX" , ALC662_3ST_6ch_DIG ),
974- SND_PCI_QUIRK (0x1043 , 0x82a1 , "ASUS Eeepc" , ALC662_ASUS_EEEPC_P701 ),
975939 SND_PCI_QUIRK (0x1043 , 0x82d1 , "ASUS Eeepc EP20" , ALC662_ASUS_EEEPC_EP20 ),
976- SND_PCI_QUIRK (0x105b , 0x0cd6 , "Foxconn" , ALC662_ECS ),
977940 SND_PCI_QUIRK (0x105b , 0x0d47 , "Foxconn 45CMX/45GMX/45CMX-K" ,
978941 ALC662_3ST_6ch_DIG ),
979942 SND_PCI_QUIRK (0x1179 , 0xff6e , "Toshiba NB20x" , ALC662_AUTO ),
@@ -1050,19 +1013,6 @@ static const struct alc_config_preset alc662_presets[] = {
10501013 .setup = alc662_lenovo_101e_setup ,
10511014 .init_hook = alc_inithook ,
10521015 },
1053- [ALC662_ASUS_EEEPC_P701 ] = {
1054- .mixers = { alc662_eeepc_p701_mixer },
1055- .init_verbs = { alc662_init_verbs ,
1056- alc662_eapd_init_verbs ,
1057- alc662_eeepc_sue_init_verbs },
1058- .num_dacs = ARRAY_SIZE (alc662_dac_nids ),
1059- .dac_nids = alc662_dac_nids ,
1060- .num_channel_mode = ARRAY_SIZE (alc662_3ST_2ch_modes ),
1061- .channel_mode = alc662_3ST_2ch_modes ,
1062- .unsol_event = alc_sku_unsol_event ,
1063- .setup = alc662_eeepc_setup ,
1064- .init_hook = alc_inithook ,
1065- },
10661016 [ALC662_ASUS_EEEPC_EP20 ] = {
10671017 .mixers = { alc662_eeepc_ep20_mixer ,
10681018 alc662_chmode_mixer },
@@ -1078,19 +1028,6 @@ static const struct alc_config_preset alc662_presets[] = {
10781028 .setup = alc662_eeepc_ep20_setup ,
10791029 .init_hook = alc_inithook ,
10801030 },
1081- [ALC662_ECS ] = {
1082- .mixers = { alc662_ecs_mixer },
1083- .init_verbs = { alc662_init_verbs ,
1084- alc662_eapd_init_verbs ,
1085- alc662_ecs_init_verbs },
1086- .num_dacs = ARRAY_SIZE (alc662_dac_nids ),
1087- .dac_nids = alc662_dac_nids ,
1088- .num_channel_mode = ARRAY_SIZE (alc662_3ST_2ch_modes ),
1089- .channel_mode = alc662_3ST_2ch_modes ,
1090- .unsol_event = alc_sku_unsol_event ,
1091- .setup = alc662_eeepc_setup ,
1092- .init_hook = alc_inithook ,
1093- },
10941031 [ALC663_ASUS_M51VA ] = {
10951032 .mixers = { alc663_m51va_mixer },
10961033 .init_verbs = { alc662_init_verbs ,
0 commit comments