aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2014-02-12 11:09:23 -0500
committerTakashi Iwai <tiwai@suse.de>2014-02-12 11:37:46 -0500
commit2078600b1f8fc68b02f6ebdda1759fb0c9f51afb (patch)
tree5a13484f8897d960c5203062e61a691a0604edf2 /sound
parentef8e39b51f24c8ac907e1f1995910ee3083375e0 (diff)
ALSA: Revert "ALSA: hda/realtek - Avoid invalid COEFs for ALC271X"
This reverts commit d3c56568f43807135f2c2a09582a69f809f0d8b7. The reverted commit breaks audio through headphone line out on the Acer TravelMate B113 (Type1Sku0) Notebook, my main work machine. I don't know much about it but this fixes my problem. Bisected and tested. Fixes: d3c56568f438 ('ALSA: hda/realtek - Avoid invalid COEFs for ALC271X') Cc: <stable@vger.kernel.org> Tested-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0ab0b9e05967..a9a83b85517a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4438,9 +4438,6 @@ static void alc269_fill_coef(struct hda_codec *codec)
4438 4438
4439 if (spec->codec_variant != ALC269_TYPE_ALC269VB) 4439 if (spec->codec_variant != ALC269_TYPE_ALC269VB)
4440 return; 4440 return;
4441 /* ALC271X doesn't seem to support these COEFs (bko#52181) */
4442 if (!strcmp(codec->chip_name, "ALC271X"))
4443 return;
4444 4441
4445 if ((alc_get_coef0(codec) & 0x00ff) < 0x015) { 4442 if ((alc_get_coef0(codec) & 0x00ff) < 0x015) {
4446 alc_write_coef_idx(codec, 0xf, 0x960b); 4443 alc_write_coef_idx(codec, 0xf, 0x960b);