diff options
author | Matthew Ranostay <mranostay@embeddedalley.com> | 2008-11-14 23:46:22 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-15 19:04:26 +0100 |
commit | c39555d6edd0142972f577405d5259879ecc1635 (patch) | |
tree | 0deda7e2d2c28a526a731ca99a5687883882c22e /sound | |
parent | ALSA: hda - Missing NULL check in hda_beep.c (diff) | |
download | linux-c39555d6edd0142972f577405d5259879ecc1635.tar.xz linux-c39555d6edd0142972f577405d5259879ecc1635.zip |
ALSA: 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.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 1633ef2c654a..f205570def1c 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -36,9 +36,11 @@ #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, |