From: Takashi Iwai Date: Tue, 2 Sep 2014 05:21:56 +0000 (+0200) Subject: ALSA: hda - Fix COEF setups for ALC1150 codec X-Git-Tag: submit/tizen/20160422.055611~1^2~99^2~18^2~373 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d113a44062cb09e8338c14cac5af8a37e8448fa;p=sdk%2Femulator%2Femulator-kernel.git ALSA: hda - Fix COEF setups for ALC1150 codec commit acf08081adb5e8fe0519eb97bb49797ef52614d6 upstream. ALC1150 codec seems to need the COEF- and PLL-setups just like its compatible ALC882 codec. Some machines (e.g. SunMicro X10SAT) show the problem like too low output volumes unless the COEF setup is applied. Reported-and-tested-by: Dana Goyette Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index b35dbe25a6e3..5d0058bd6259 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -327,6 +327,7 @@ static void alc_auto_init_amp(struct hda_codec *codec, int type) case 0x10ec0885: case 0x10ec0887: /*case 0x10ec0889:*/ /* this causes an SPDIF problem */ + case 0x10ec0900: alc889_coef_init(codec); break; case 0x10ec0888: @@ -2330,6 +2331,7 @@ static int patch_alc882(struct hda_codec *codec) switch (codec->vendor_id) { case 0x10ec0882: case 0x10ec0885: + case 0x10ec0900: break; default: /* ALC883 and variants */