]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.drivers/alsa-post-ga-alc888-coef-fix
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.drivers / alsa-post-ga-alc888-coef-fix
1 From 37db623ae2a7bde234a8ed683d0d13d6f939199c Mon Sep 17 00:00:00 2001
2 From: Takashi Iwai <tiwai@suse.de>
3 Date: Thu, 5 Mar 2009 09:40:16 +0100
4 Subject: ALSA: hda - Fix check of ALC888S-VC in alc888_coef_init()
5 Patch-mainline:
6 References: bnc#482796
7
8 Fixed the wrong bits check to identify ALC888S-VC model in
9 alc888_coef_init().
10
11 Signed-off-by: Takashi Iwai <tiwai@suse.de>
12
13 ---
14 sound/pci/hda/patch_realtek.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/sound/pci/hda/patch_realtek.c
18 +++ b/sound/pci/hda/patch_realtek.c
19 @@ -884,7 +884,7 @@ static void alc888_coef_init(struct hda_
20 snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 0);
21 tmp = snd_hda_codec_read(codec, 0x20, 0, AC_VERB_GET_PROC_COEF, 0);
22 snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 7);
23 - if ((tmp & 0xf0) == 2)
24 + if ((tmp & 0xf0) == 0x20)
25 /* alc888S-VC */
26 snd_hda_codec_read(codec, 0x20, 0,
27 AC_VERB_SET_PROC_COEF, 0x830);