Skip to content

Commit

Permalink
ALSA: Revert "ALSA: hda/realtek - Avoid invalid COEFs for ALC271X"
Browse files Browse the repository at this point in the history
This reverts commit d3c5656.

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: d3c5656 ('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>
  • Loading branch information
Martin Kepplinger authored and Takashi Iwai committed Feb 12, 2014
1 parent ef8e39b commit 2078600
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -4438,9 +4438,6 @@ static void alc269_fill_coef(struct hda_codec *codec)

if (spec->codec_variant != ALC269_TYPE_ALC269VB)
return;
/* ALC271X doesn't seem to support these COEFs (bko#52181) */
if (!strcmp(codec->chip_name, "ALC271X"))
return;

if ((alc_get_coef0(codec) & 0x00ff) < 0x015) {
alc_write_coef_idx(codec, 0xf, 0x960b);
Expand Down

0 comments on commit 2078600

Please sign in to comment.