]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-sigmatel-vref-event-fix
Disable build of xen kernel.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / alsa-hda-sigmatel-vref-event-fix
1 From: Matthew Ranostay <mranostay@embeddedalley.com>
2 Subject: ALSA: hda: STAC_VREF_EVENT value change
3 Patch-mainline:
4 References: bnc#444349
5
6 Changed value for STAC_VREF_EVENT from 0x40 to 0x00 because the
7 unsol response value is only 6-bits width and the former value
8 was 1<<6 which is an overrun.
9
10 Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
11 Signed-off-by: Takashi Iwai <tiwai@suse.de>
12
13 ---
14 sound/pci/hda/patch_sigmatel.c | 4 +++-
15 1 files changed, 3 insertions(+), 1 deletions(-)
16
17 diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
18 index 1633ef2..f205570 100644
19 --- a/sound/pci/hda/patch_sigmatel.c
20 +++ b/sound/pci/hda/patch_sigmatel.c
21 @@ -36,9 +36,11 @@
22 #include "hda_beep.h"
23
24 #define NUM_CONTROL_ALLOC 32
25 +
26 +#define STAC_VREF_EVENT 0x00
27 +#define STAC_INSERT_EVENT 0x10
28 #define STAC_PWR_EVENT 0x20
29 #define STAC_HP_EVENT 0x30
30 -#define STAC_VREF_EVENT 0x40
31
32 enum {
33 STAC_REF,
34 --
35 1.6.0.4
36