]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: hda: STAC_VREF_EVENT value change
authorMatthew Ranostay <mranostay@embeddedalley.com>
Fri, 14 Nov 2008 22:46:22 +0000 (17:46 -0500)
committerTakashi Iwai <tiwai@suse.de>
Sat, 15 Nov 2008 18:04:26 +0000 (19:04 +0100)
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@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c

index 1633ef2c654a269682ef89c92541ab5f09e7ff2a..f205570def1c3a194682cb9b7f1344b0fec95615 100644 (file)
 #include "hda_beep.h"
 
 #define NUM_CONTROL_ALLOC      32
+
+#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,