ALSA: hda - Fix missing initialization of NID 0x0e for STAC925x
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Jan 2009 14:58:55 +0000 (15:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Jan 2009 14:58:55 +0000 (15:58 +0100)
The selector widget 0x0e isn't initialized properly in the whole probe
process, thus it can be a wrong value depending on the BIOS setup.

This patch adds the init verb to set it to the max & unmuted.

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

index 25230f4..6d9a4a2 100644 (file)
@@ -884,6 +884,8 @@ static struct hda_verb stac92hd71bxx_analog_core_init[] = {
 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 },
        {}
 };