ALSA: hda/realtek - Avoid invalid COEFs for ALC271X
[pandora-kernel.git] / sound / pci / hda / patch_realtek.c
index 1f78ca6..36bce68 100644 (file)
@@ -5157,6 +5157,9 @@ static int alc269_fill_coef(struct hda_codec *codec)
 
        if (spec->codec_variant != ALC269_TYPE_ALC269VB)
                return 0;
+       /* ALC271X doesn't seem to support these COEFs (bko#52181) */
+       if (!strcmp(codec->chip_name, "ALC271X"))
+               return 0;
 
        if ((alc_get_coef0(codec) & 0x00ff) < 0x015) {
                alc_write_coef_idx(codec, 0xf, 0x960b);