[alsa-devel] [PATCH] hda: STAC_VREF_EVENT value change

Matthew Ranostay mranostay at embeddedalley.com
Fri Nov 14 23:46:22 CET 2008


Changed value for STAC_VREF_EVENT from 0x40 to 0x00 because the
unsol response value is only 6-bits width and the former value
was 1<<6 which is an overrun.

Signed-off-by: Matthew Ranostay <mranostay at embeddedalley.com>
---
diff --git a/pci/hda/patch_sigmatel.c b/pci/hda/patch_sigmatel.c
index ec8f5ab..86e5cd9 100644
--- a/pci/hda/patch_sigmatel.c
+++ b/pci/hda/patch_sigmatel.c
@@ -36,10 +36,10 @@
 #include "hda_patch.h"
 #include "hda_beep.h"

+#define STAC_VREF_EVENT		0x00
 #define STAC_INSERT_EVENT	0x10
 #define STAC_PWR_EVENT		0x20
 #define STAC_HP_EVENT		0x30
-#define STAC_VREF_EVENT		0x40

 enum {
 	STAC_REF,


More information about the Alsa-devel mailing list