Skip to content

Commit

Permalink
ALSA: hda - Begin HDA_GEN_* event tag from 1
Browse files Browse the repository at this point in the history
... to distinguish from the invalid event type.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent d94ddd8 commit 406b285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/hda_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit 406b285

Please sign in to comment.