From 406b285da3a04381d46d0f5f5e53c3de0362738c Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 20 Dec 2012 14:46:57 +0100 Subject: [PATCH] ALSA: hda - Begin HDA_GEN_* event tag from 1 ... to distinguish from the invalid event type. Signed-off-by: Takashi Iwai --- sound/pci/hda/hda_generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index 89ad877e48c8..b59889911937 100644 --- a/sound/pci/hda/hda_generic.h +++ b/sound/pci/hda/hda_generic.h @@ -14,7 +14,7 @@ /* unsol event tags */ enum { - HDA_GEN_HP_EVENT, HDA_GEN_FRONT_EVENT, HDA_GEN_MIC_EVENT, + HDA_GEN_HP_EVENT = 1, HDA_GEN_FRONT_EVENT, HDA_GEN_MIC_EVENT, HDA_GEN_LAST_EVENT = HDA_GEN_MIC_EVENT }; -- 2.30.2