From b62c869984071ecfe96b2c06bf6b15fbe9159d65 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 4 Feb 2008 12:32:20 +0100 Subject: [PATCH] --- yaml --- r: 92015 b: refs/heads/master c: 12a733e56c0f1c78bd34bf36e9765463fd51c88e h: refs/heads/master i: 92013: 5af21546c8adcb3ef006bf532cd74ff4098e3cf3 92011: 995d1d1fb5085e4476d847bc3888dcd5e9bc2f82 92007: 4cd9fbf409a16097093dd577b33f844c55ba17e9 91999: c380add0ef57d2f626ab20e65706be02171a8318 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_atihdmi.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d7ae66720169..e6f337bf8db5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 09f99701393c7b66bde01df6c292fe5d9f843033 +refs/heads/master: 12a733e56c0f1c78bd34bf36e9765463fd51c88e diff --git a/trunk/sound/pci/hda/patch_atihdmi.c b/trunk/sound/pci/hda/patch_atihdmi.c index 9a8bb4ce3f8d..27d2e007404b 100644 --- a/trunk/sound/pci/hda/patch_atihdmi.c +++ b/trunk/sound/pci/hda/patch_atihdmi.c @@ -58,6 +58,10 @@ static int atihdmi_build_controls(struct hda_codec *codec) static int atihdmi_init(struct hda_codec *codec) { snd_hda_sequence_write(codec, atihdmi_basic_init); + /* SI codec requires to unmute the pin */ + if (get_wcaps(codec, 0x03) & AC_WCAP_OUT_AMP) + snd_hda_codec_write(codec, 0x03, 0, AC_VERB_SET_AMP_GAIN_MUTE, + AMP_OUT_UNMUTE); return 0; } @@ -158,5 +162,6 @@ struct hda_codec_preset snd_hda_preset_atihdmi[] = { { .id = 0x10027919, .name = "ATI RS600 HDMI", .patch = patch_atihdmi }, { .id = 0x1002791a, .name = "ATI RS690/780 HDMI", .patch = patch_atihdmi }, { .id = 0x1002aa01, .name = "ATI R6xx HDMI", .patch = patch_atihdmi }, + { .id = 0x10951392, .name = "SI HDMI", .patch = patch_atihdmi }, {} /* terminator */ };