]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ALSA: Revert "ALSA: hda/realtek - Avoid invalid COEFs for ALC271X"
authorMartin Kepplinger <martink@posteo.de>
Wed, 12 Feb 2014 16:09:23 +0000 (17:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Feb 2014 16:37:46 +0000 (17:37 +0100)
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>
sound/pci/hda/patch_realtek.c

index 0ab0b9e059672e07d536e92e7ea21ce2b652720c..a9a83b85517aa0738bed1e2ee29b39ae945c37e4 100644 (file)
@@ -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);