]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.drivers/alsa-post-ga-alc269-fix-vmaster
Merge branch 'master' into next
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / alsa-post-ga-alc269-fix-vmaster
1 From 100d5eb36ba20dc0b99a17ea2b9800c567bfc3d1 Mon Sep 17 00:00:00 2001
2 From: Takashi Iwai <tiwai@suse.de>
3 Date: Mon, 10 Aug 2009 11:55:51 +0200
4 Subject: [PATCH] ALSA: hda - Add missing vmaster initialization for ALC269
5 Patch-mainline:
6 References: bnc#527361
7
8 Without the initialization of vmaster NID, the dB information got
9 confused for ALC269 codec.
10
11 Reference: Novell bnc#527361
12 https://bugzilla.novell.com/show_bug.cgi?id=527361
13
14 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 Cc: <stable@kernel.org>
16
17 ---
18 sound/pci/hda/patch_realtek.c | 2 ++
19 1 file changed, 2 insertions(+)
20
21 --- a/sound/pci/hda/patch_realtek.c
22 +++ b/sound/pci/hda/patch_realtek.c
23 @@ -12654,6 +12654,8 @@
24 spec->num_adc_nids = ARRAY_SIZE(alc269_adc_nids);
25 spec->capsrc_nids = alc269_capsrc_nids;
26
27 + spec->vmaster_nid = 0x02;
28 +
29 codec->patch_ops = alc_patch_ops;
30 if (board_config == ALC269_AUTO)
31 spec->init_hook = alc269_auto_init;