ALSA: hda - Fix missing initialization of NID 0x0e for STAC925x

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, January 15, 2009 - 6:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2465fb...
Commit:     2465fb6605b4f8f3964b132017bf4078d1265fe9
Parent:     9248f2693921b143b54f380b60c945b28a7a5358
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Wed Jan 14 15:58:55 2009 +0100
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Wed Jan 14 15:58:55 2009 +0100

    ALSA: hda - Fix missing initialization of NID 0x0e for STAC925x
    
    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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 25230f4..6d9a4a2 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -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 },
 	{}
 };
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: hda - Fix missing initialization of NID 0x0e for STA ..., Linux Kernel Mailing ..., (Thu Jan 15, 6:59 pm)