From bf4b8c09c9e0a6c4c48745b7091dba43c300ab17 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 29 May 2007 19:01:37 +0200 Subject: [PATCH] --- yaml --- r: 62049 b: refs/heads/master c: 807a463603a2e014f36e88317aa5e07c15887fcd h: refs/heads/master i: 62047: a35d3bc8b35db2f024415bf64335d04116881a10 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_sigmatel.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c1cea1d1ab8b..b4947407e708 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d5d3bc3eddf2ad97b2cb090b92580e7fed6cee1 +refs/heads/master: 807a463603a2e014f36e88317aa5e07c15887fcd diff --git a/trunk/sound/pci/hda/patch_sigmatel.c b/trunk/sound/pci/hda/patch_sigmatel.c index dd005ed89f0b..addcb2a0ae66 100644 --- a/trunk/sound/pci/hda/patch_sigmatel.c +++ b/trunk/sound/pci/hda/patch_sigmatel.c @@ -2127,6 +2127,13 @@ static int patch_stac922x(struct hda_codec *codec) codec->patch_ops = stac92xx_patch_ops; + /* Fix Mux capture level; max to 2 */ + snd_hda_override_amp_caps(codec, 0x12, HDA_OUTPUT, + (0 << AC_AMPCAP_OFFSET_SHIFT) | + (2 << AC_AMPCAP_NUM_STEPS_SHIFT) | + (0x27 << AC_AMPCAP_STEP_SIZE_SHIFT) | + (0 << AC_AMPCAP_MUTE_SHIFT)); + return 0; }