From: Takashi Iwai Date: Mon, 10 Aug 2009 09:55:51 +0000 (+0200) Subject: ALSA: hda - Add missing vmaster initialization for ALC269 X-Git-Tag: MMI-PSA29.97-13-9~27051^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=100d5eb36ba20dc0b99a17ea2b9800c567bfc3d1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ALSA: hda - Add missing vmaster initialization for ALC269 Without the initialization of vmaster NID, the dB information got confused for ALC269 codec. Reference: Novell bnc#527361 https://bugzilla.novell.com/show_bug.cgi?id=527361 Signed-off-by: Takashi Iwai Cc: --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 51c44fdbc0f0..5cc927f47837 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -13563,6 +13563,8 @@ static int patch_alc269(struct hda_codec *codec) set_capture_mixer(spec); set_beep_amp(spec, 0x0b, 0x04, HDA_INPUT); + spec->vmaster_nid = 0x02; + codec->patch_ops = alc_patch_ops; if (board_config == ALC269_AUTO) spec->init_hook = alc269_auto_init;