@@ -7485,6 +7485,16 @@ static void alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec *codec,
7485
7485
spec -> gen .pcm_playback_hook = alc287_alc1318_playback_pcm_hook ;
7486
7486
}
7487
7487
7488
+ /*
7489
+ * Clear COEF 0x0d (PCBEEP passthrough) bit 0x40 where BIOS sets it wrongly
7490
+ * at PM resume
7491
+ */
7492
+ static void alc283_fixup_dell_hp_resume (struct hda_codec * codec ,
7493
+ const struct hda_fixup * fix , int action )
7494
+ {
7495
+ if (action == HDA_FIXUP_ACT_INIT )
7496
+ alc_write_coef_idx (codec , 0xd , 0x2800 );
7497
+ }
7488
7498
7489
7499
enum {
7490
7500
ALC269_FIXUP_GPIO2 ,
@@ -7785,6 +7795,7 @@ enum {
7785
7795
ALC269_FIXUP_VAIO_VJFH52_MIC_NO_PRESENCE ,
7786
7796
ALC233_FIXUP_MEDION_MTL_SPK ,
7787
7797
ALC294_FIXUP_BASS_SPEAKER_15 ,
7798
+ ALC283_FIXUP_DELL_HP_RESUME ,
7788
7799
};
7789
7800
7790
7801
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -10117,6 +10128,10 @@ static const struct hda_fixup alc269_fixups[] = {
10117
10128
.type = HDA_FIXUP_FUNC ,
10118
10129
.v .func = alc294_fixup_bass_speaker_15 ,
10119
10130
},
10131
+ [ALC283_FIXUP_DELL_HP_RESUME ] = {
10132
+ .type = HDA_FIXUP_FUNC ,
10133
+ .v .func = alc283_fixup_dell_hp_resume ,
10134
+ },
10120
10135
};
10121
10136
10122
10137
static const struct hda_quirk alc269_fixup_tbl [] = {
@@ -10177,6 +10192,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
10177
10192
SND_PCI_QUIRK (0x1028 , 0x05f4 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10178
10193
SND_PCI_QUIRK (0x1028 , 0x05f5 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10179
10194
SND_PCI_QUIRK (0x1028 , 0x05f6 , "Dell" , ALC269_FIXUP_DELL1_MIC_NO_PRESENCE ),
10195
+ SND_PCI_QUIRK (0x1028 , 0x0604 , "Dell Venue 11 Pro 7130" , ALC283_FIXUP_DELL_HP_RESUME ),
10180
10196
SND_PCI_QUIRK (0x1028 , 0x0615 , "Dell Vostro 5470" , ALC290_FIXUP_SUBWOOFER_HSJACK ),
10181
10197
SND_PCI_QUIRK (0x1028 , 0x0616 , "Dell Vostro 5470" , ALC290_FIXUP_SUBWOOFER_HSJACK ),
10182
10198
SND_PCI_QUIRK (0x1028 , 0x062c , "Dell Latitude E5550" , ALC292_FIXUP_DELL_E7X ),
0 commit comments