@@ -7597,6 +7597,16 @@ static void alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec *codec,
7597
7597
spec -> gen .pcm_playback_hook = alc287_alc1318_playback_pcm_hook ;
7598
7598
}
7599
7599
7600
+ /*
7601
+ * Clear COEF 0x0d (PCBEEP passthrough) bit 0x40 where BIOS sets it wrongly
7602
+ * at PM resume
7603
+ */
7604
+ static void alc283_fixup_dell_hp_resume (struct hda_codec * codec ,
7605
+ const struct hda_fixup * fix , int action )
7606
+ {
7607
+ if (action == HDA_FIXUP_ACT_INIT )
7608
+ alc_write_coef_idx (codec , 0xd , 0x2800 );
7609
+ }
7600
7610
7601
7611
enum {
7602
7612
ALC269_FIXUP_GPIO2 ,
@@ -7899,6 +7909,7 @@ enum {
7899
7909
ALC269_FIXUP_VAIO_VJFH52_MIC_NO_PRESENCE ,
7900
7910
ALC233_FIXUP_MEDION_MTL_SPK ,
7901
7911
ALC294_FIXUP_BASS_SPEAKER_15 ,
7912
+ ALC283_FIXUP_DELL_HP_RESUME ,
7902
7913
};
7903
7914
7904
7915
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -10237,6 +10248,10 @@ static const struct hda_fixup alc269_fixups[] = {
10237
10248
.type = HDA_FIXUP_FUNC ,
10238
10249
.v .func = alc294_fixup_bass_speaker_15 ,
10239
10250
},
10251
+ [ALC283_FIXUP_DELL_HP_RESUME ] = {
10252
+ .type = HDA_FIXUP_FUNC ,
10253
+ .v .func = alc283_fixup_dell_hp_resume ,
10254
+ },
10240
10255
};
10241
10256
10242
10257
static const struct hda_quirk alc269_fixup_tbl [] = {
@@ -10297,6 +10312,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
10297
10312
SND_PCI_QUIRK (0x1028 , 0x05f4 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10298
10313
SND_PCI_QUIRK (0x1028 , 0x05f5 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10299
10314
SND_PCI_QUIRK (0x1028 , 0x05f6 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10315
+ SND_PCI_QUIRK (0x1028 , 0x0604 , "Dell Venue 11 Pro 7130" , ALC283_FIXUP_DELL_HP_RESUME ),
10300
10316
SND_PCI_QUIRK (0x1028 , 0x0615 , "Dell Vostro 5470" , ALC290_FIXUP_SUBWOOFER_HSJACK ),
10301
10317
SND_PCI_QUIRK (0x1028 , 0x0616 , "Dell Vostro 5470" , ALC290_FIXUP_SUBWOOFER_HSJACK ),
10302
10318
SND_PCI_QUIRK (0x1028 , 0x062c , "Dell Latitude E5550" , ALC292_FIXUP_DELL_E7X ),
0 commit comments