Skip to contentSkip to conversation

hda: STAC_VREF_EVENT value change

PATCH Applied Matthew Ranostay 2 participants 2 messages Nov 14, 2008 – Nov 15, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hda: STAC_VREF_EVENT value change

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.

---

pci/hda/patch_sigmatel.c +1 -1
index ec8f5ab..86e5cd9 100644
@@ -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,
Applied
#1 lore raw

At Fri, 14 Nov 2008 17:46:22 -0500,

Quoted 6 lines · Matthew Ranostay

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.

Applied. Thanks.

Takashi