]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.drivers/alsa-hda-sigmatel-vref-event-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-hda-sigmatel-vref-event-fix
CommitLineData
00e5a55c
BS
1From: Matthew Ranostay <mranostay@embeddedalley.com>
2Subject: ALSA: hda: STAC_VREF_EVENT value change
3Patch-mainline:
4References: bnc#444349
5
6Changed value for STAC_VREF_EVENT from 0x40 to 0x00 because the
7unsol response value is only 6-bits width and the former value
8was 1<<6 which is an overrun.
9
10Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
11Signed-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
17diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
18index 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--
351.6.0.4
36