summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-12-20 14:46:57 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:34:11 +0100
commit406b285da3a04381d46d0f5f5e53c3de0362738c (patch)
tree675a0b313fc46969081dd7a6064c3fa4f049b3cc /sound/pci/hda/hda_generic.h
parentALSA: hda - Increase the max depth of widget connections (diff)
downloadlinux-406b285da3a04381d46d0f5f5e53c3de0362738c.tar.xz
linux-406b285da3a04381d46d0f5f5e53c3de0362738c.zip
ALSA: hda - Begin HDA_GEN_* event tag from 1
... to distinguish from the invalid event type. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r--sound/pci/hda/hda_generic.h2
1 files changed, 1 insertions, 1 deletions
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
};