Skip to content

Commit

Permalink
ALSA: hda: STAC_VREF_EVENT value change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Ranostay authored and Takashi Iwai committed Nov 15, 2008
1 parent 6a12afb commit c39555d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c39555d

Please sign in to comment.