diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index f14871151be..301b5227bfb 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -590,11 +590,21 @@ struct hda_pcm_stream { | |||
590 | struct hda_pcm_ops ops; | 590 | struct hda_pcm_ops ops; |
591 | }; | 591 | }; |
592 | 592 | ||
593 | /* PCM types */ | ||
594 | enum { | ||
595 | HDA_PCM_TYPE_AUDIO, | ||
596 | HDA_PCM_TYPE_SPDIF, | ||
597 | HDA_PCM_TYPE_HDMI, | ||
598 | HDA_PCM_TYPE_MODEM, | ||
599 | HDA_PCM_NTYPES | ||
600 | }; | ||
601 | |||
593 | /* for PCM creation */ | 602 | /* for PCM creation */ |
594 | struct hda_pcm { | 603 | struct hda_pcm { |
595 | char *name; | 604 | char *name; |
596 | struct hda_pcm_stream stream[2]; | 605 | struct hda_pcm_stream stream[2]; |
597 | unsigned int is_modem; /* modem codec? */ | 606 | unsigned int pcm_type; /* HDA_PCM_TYPE_XXX */ |
607 | int device; /* assigned device number */ | ||
598 | }; | 608 | }; |
599 | 609 | ||
600 | /* codec information */ | 610 | /* codec information */ |