[alsa-devel] [PATCH] 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 --- 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,
At Fri, 14 Nov 2008 17:46:22 -0500, Matthew Ranostay wrote:
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
Applied. Thanks.
Takashi
participants (2)
-
Matthew Ranostay
-
Takashi Iwai