Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c39555d6 authored by Matt Ranostay's avatar Matt Ranostay Committed by Takashi Iwai
Browse files

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: default avatarMatthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6a12afb5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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,