@@ -7497,6 +7497,16 @@ static void alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec *codec,
7497
7497
spec -> gen .pcm_playback_hook = alc287_alc1318_playback_pcm_hook ;
7498
7498
}
7499
7499
7500
+ /*
7501
+ * Clear COEF 0x0d (PCBEEP passthrough) bit 0x40 where BIOS sets it wrongly
7502
+ * at PM resume
7503
+ */
7504
+ static void alc283_fixup_dell_hp_resume (struct hda_codec * codec ,
7505
+ const struct hda_fixup * fix , int action )
7506
+ {
7507
+ if (action == HDA_FIXUP_ACT_INIT )
7508
+ alc_write_coef_idx (codec , 0xd , 0x2800 );
7509
+ }
7500
7510
7501
7511
enum {
7502
7512
ALC269_FIXUP_GPIO2 ,
@@ -7799,6 +7809,7 @@ enum {
7799
7809
ALC269_FIXUP_VAIO_VJFH52_MIC_NO_PRESENCE ,
7800
7810
ALC233_FIXUP_MEDION_MTL_SPK ,
7801
7811
ALC294_FIXUP_BASS_SPEAKER_15 ,
7812
+ ALC283_FIXUP_DELL_HP_RESUME ,
7802
7813
};
7803
7814
7804
7815
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -10143,6 +10154,10 @@ static const struct hda_fixup alc269_fixups[] = {
10143
10154
.type = HDA_FIXUP_FUNC ,
10144
10155
.v .func = alc294_fixup_bass_speaker_15 ,
10145
10156
},
10157
+ [ALC283_FIXUP_DELL_HP_RESUME ] = {
10158
+ .type = HDA_FIXUP_FUNC ,
10159
+ .v .func = alc283_fixup_dell_hp_resume ,
10160
+ },
10146
10161
};
10147
10162
10148
10163
static const struct hda_quirk alc269_fixup_tbl [] = {
@@ -10203,6 +10218,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
10203
10218
SND_PCI_QUIRK (0x1028 , 0x05f4 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10204
10219
SND_PCI_QUIRK (0x1028 , 0x05f5 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10205
10220
SND_PCI_QUIRK (0x1028 , 0x05f6 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10221
+ SND_PCI_QUIRK (0x1028 , 0x0604 , "Dell Venue 11 Pro 7130" , ALC283_FIXUP_DELL_HP_RESUME ),
10206
10222
SND_PCI_QUIRK (0x1028 , 0x0615 , "Dell Vostro 5470" , ALC290_FIXUP_SUBWOOFER_HSJACK ),
10207
10223
SND_PCI_QUIRK (0x1028 , 0x0616 , "Dell Vostro 5470" , ALC290_FIXUP_SUBWOOFER_HSJACK ),
10208
10224
SND_PCI_QUIRK (0x1028 , 0x062c , "Dell Latitude E5550" , ALC292_FIXUP_DELL_E7X ),
0 commit comments