History

Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops"

This reverts commit 9cb40eb184c4220d244a532bd940c6345ad9dbd9. This patch introduces noise and headphone playback issue after rebooting or suspending/resuming. Let us revert it.

Hui Wang committed 7 years ago

Commit 17d30461 parent 84396d11 file · +5 −11Browse files

Unified · Split

sound/pci/hda/patch_realtek.c+5−11
@@ -6268,15 +6268,13 @@ static const struct hda_fixup alc269_fixups[] = { · 6267 unmodified lines
62686268 .chain_id = ALC269_FIXUP_THINKPAD_ACPI,
62696269 },
62706270 [ALC255_FIXUP_ACER_MIC_NO_PRESENCE] = {
6271− .type = HDA_FIXUP_VERBS,
6272− .v.verbs = (const struct hda_verb[]) {
6273− /* Enable the Mic */
6274− { 0x20, AC_VERB_SET_COEF_INDEX, 0x45 },
6275− { 0x20, AC_VERB_SET_PROC_COEF, 0x5089 },
6276− {}
6271+ .type = HDA_FIXUP_PINS,
6272+ .v.pins = (const struct hda_pintbl[]) {
6273+ { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
6274+ { }
62776275 },
62786276 .chained = true,
6279− .chain_id = ALC269_FIXUP_LIFEBOOK_EXTMIC
6277+ .chain_id = ALC255_FIXUP_HEADSET_MODE
62806278 },
62816279 [ALC255_FIXUP_ASUS_MIC_NO_PRESENCE] = {
62826280 .type = HDA_FIXUP_PINS,
@@ -7320,10 +7318,6 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { · 1037 unmodified lines
73207318 {0x18, 0x02a11030},
73217319 {0x19, 0x0181303F},
73227320 {0x21, 0x0221102f}),
7323− SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
7324− {0x12, 0x90a60140},
7325− {0x14, 0x90170120},
7326− {0x21, 0x02211030}),
73277321 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
73287322 {0x12, 0x90a601c0},
73297323 {0x14, 0x90171120},