summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2019-06-14 04:44:12 -0400
committerTakashi Iwai <tiwai@suse.de>2019-06-14 04:52:03 -0400
commit17d304604a88cf20c8dfd2c95d3decb9c4f8bca4 (patch)
tree5647b0293bc178127fe9c237b9bb6e80f6d3f139
parent84396d141894c52f55c1276630587862f5ced7dd (diff)
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. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=203831 Fixes: 9cb40eb184c4 ("ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops") Cc: <stable@vger.kernel.org> Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_realtek.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 1afb268f3da0..179e4be1f747 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6268,15 +6268,13 @@ static const struct hda_fixup alc269_fixups[] = {
6268 .chain_id = ALC269_FIXUP_THINKPAD_ACPI, 6268 .chain_id = ALC269_FIXUP_THINKPAD_ACPI,
6269 }, 6269 },
6270 [ALC255_FIXUP_ACER_MIC_NO_PRESENCE] = { 6270 [ALC255_FIXUP_ACER_MIC_NO_PRESENCE] = {
6271 .type = HDA_FIXUP_VERBS, 6271 .type = HDA_FIXUP_PINS,
6272 .v.verbs = (const struct hda_verb[]) { 6272 .v.pins = (const struct hda_pintbl[]) {
6273 /* Enable the Mic */ 6273 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
6274 { 0x20, AC_VERB_SET_COEF_INDEX, 0x45 }, 6274 { }
6275 { 0x20, AC_VERB_SET_PROC_COEF, 0x5089 },
6276 {}
6277 }, 6275 },
6278 .chained = true, 6276 .chained = true,
6279 .chain_id = ALC269_FIXUP_LIFEBOOK_EXTMIC 6277 .chain_id = ALC255_FIXUP_HEADSET_MODE
6280 }, 6278 },
6281 [ALC255_FIXUP_ASUS_MIC_NO_PRESENCE] = { 6279 [ALC255_FIXUP_ASUS_MIC_NO_PRESENCE] = {
6282 .type = HDA_FIXUP_PINS, 6280 .type = HDA_FIXUP_PINS,
@@ -7321,10 +7319,6 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
7321 {0x19, 0x0181303F}, 7319 {0x19, 0x0181303F},
7322 {0x21, 0x0221102f}), 7320 {0x21, 0x0221102f}),
7323 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE, 7321 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
7324 {0x12, 0x90a60140},
7325 {0x14, 0x90170120},
7326 {0x21, 0x02211030}),
7327 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
7328 {0x12, 0x90a601c0}, 7322 {0x12, 0x90a601c0},
7329 {0x14, 0x90171120}, 7323 {0x14, 0x90171120},
7330 {0x21, 0x02211030}), 7324 {0x21, 0x02211030}),