소스 검색

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 <tiwai@suse.de>
Cc: <stable@kernel.org>
Takashi Iwai 15 년 전
부모
커밋
100d5eb36b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      sound/pci/hda/patch_realtek.c

+ 2 - 0
sound/pci/hda/patch_realtek.c

@@ -13563,6 +13563,8 @@ static int patch_alc269(struct hda_codec *codec)
 		set_capture_mixer(spec);
 		set_capture_mixer(spec);
 	set_beep_amp(spec, 0x0b, 0x04, HDA_INPUT);
 	set_beep_amp(spec, 0x0b, 0x04, HDA_INPUT);
 
 
+	spec->vmaster_nid = 0x02;
+
 	codec->patch_ops = alc_patch_ops;
 	codec->patch_ops = alc_patch_ops;
 	if (board_config == ALC269_AUTO)
 	if (board_config == ALC269_AUTO)
 		spec->init_hook = alc269_auto_init;
 		spec->init_hook = alc269_auto_init;