@@ -344,6 +344,7 @@ enum {
344
344
CXT_FIXUP_HP_ZBOOK_MUTE_LED ,
345
345
CXT_FIXUP_HEADSET_MIC ,
346
346
CXT_FIXUP_HP_MIC_NO_PRESENCE ,
347
+ CXT_PINCFG_SWS_JS201D ,
347
348
};
348
349
349
350
/* for hda_fixup_thinkpad_acpi() */
@@ -841,6 +842,17 @@ static const struct hda_pintbl cxt_pincfg_lemote[] = {
841
842
{}
842
843
};
843
844
845
+ /* SuoWoSi/South-holding JS201D with sn6140 */
846
+ static const struct hda_pintbl cxt_pincfg_sws_js201d [] = {
847
+ { 0x16 , 0x03211040 }, /* hp out */
848
+ { 0x17 , 0x91170110 }, /* SPK/Class_D */
849
+ { 0x18 , 0x95a70130 }, /* Internal mic */
850
+ { 0x19 , 0x03a11020 }, /* Headset Mic */
851
+ { 0x1a , 0x40f001f0 }, /* Not used */
852
+ { 0x21 , 0x40f001f0 }, /* Not used */
853
+ {}
854
+ };
855
+
844
856
static const struct hda_fixup cxt_fixups [] = {
845
857
[CXT_PINCFG_LENOVO_X200 ] = {
846
858
.type = HDA_FIXUP_PINS ,
@@ -996,6 +1008,10 @@ static const struct hda_fixup cxt_fixups[] = {
996
1008
.chained = true,
997
1009
.chain_id = CXT_FIXUP_HEADSET_MIC ,
998
1010
},
1011
+ [CXT_PINCFG_SWS_JS201D ] = {
1012
+ .type = HDA_FIXUP_PINS ,
1013
+ .v .pins = cxt_pincfg_sws_js201d ,
1014
+ },
999
1015
};
1000
1016
1001
1017
static const struct snd_pci_quirk cxt5045_fixups [] = {
@@ -1069,6 +1085,7 @@ static const struct snd_pci_quirk cxt5066_fixups[] = {
1069
1085
SND_PCI_QUIRK (0x103c , 0x8457 , "HP Z2 G4 mini" , CXT_FIXUP_HP_MIC_NO_PRESENCE ),
1070
1086
SND_PCI_QUIRK (0x103c , 0x8458 , "HP Z2 G4 mini premium" , CXT_FIXUP_HP_MIC_NO_PRESENCE ),
1071
1087
SND_PCI_QUIRK (0x1043 , 0x138d , "Asus" , CXT_FIXUP_HEADPHONE_MIC_PIN ),
1088
+ SND_PCI_QUIRK (0x14f1 , 0x0265 , "SWS JS201D" , CXT_PINCFG_SWS_JS201D ),
1072
1089
SND_PCI_QUIRK (0x152d , 0x0833 , "OLPC XO-1.5" , CXT_FIXUP_OLPC_XO ),
1073
1090
SND_PCI_QUIRK (0x17aa , 0x20f2 , "Lenovo T400" , CXT_PINCFG_LENOVO_TP410 ),
1074
1091
SND_PCI_QUIRK (0x17aa , 0x215e , "Lenovo T410" , CXT_PINCFG_LENOVO_TP410 ),
@@ -1109,6 +1126,7 @@ static const struct hda_model_fixup cxt5066_fixup_models[] = {
1109
1126
{ .id = CXT_FIXUP_HP_ZBOOK_MUTE_LED , .name = "hp-zbook-mute-led" },
1110
1127
{ .id = CXT_FIXUP_HP_MIC_NO_PRESENCE , .name = "hp-mic-fix" },
1111
1128
{ .id = CXT_PINCFG_LENOVO_NOTEBOOK , .name = "lenovo-20149" },
1129
+ { .id = CXT_PINCFG_SWS_JS201D , .name = "sws-js201d" },
1112
1130
{}
1113
1131
};
1114
1132
0 commit comments