[alsa-devel] [PATCH 066/112] ALSA: hda - Begin HDA_GEN_* event tag from 1
Takashi Iwai
tiwai at suse.de
Tue Jan 8 12:38:59 CET 2013
... to distinguish from the invalid event type.
Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
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 89ad877..b598899 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
};
--
1.8.0.1
More information about the Alsa-devel
mailing list