ALSA: hda - Fix invalid amp value for STAC925x
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jan 2009 15:56:59 +0000 (16:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 15 Jan 2009 16:02:49 +0000 (17:02 +0100)
The value set in the commit 2465fb6605b4f8f3964b132017bf4078d1265fe9
is actually wrong.  The value range is from 0 to 0x1f while the patch
sets to 0x7f.  Let's fix it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c

index e6c1396..c39deeb 100644 (file)
@@ -886,7 +886,7 @@ static struct hda_verb stac925x_core_init[] = {
        /* set dac0mux for dac converter */
        { 0x06, AC_VERB_SET_CONNECT_SEL, 0x00},
        /* unmute and set max the selector */
-       { 0x0e, AC_VERB_SET_AMP_GAIN_MUTE, 0xb07f },
+       { 0x0e, AC_VERB_SET_AMP_GAIN_MUTE, 0xb01f },
        {}
 };