diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 4f4e545c0f4b..8665540e55aa 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -757,6 +757,7 @@ struct hda_pcm_stream { | |||
757 | u32 rates; /* supported rates */ | 757 | u32 rates; /* supported rates */ |
758 | u64 formats; /* supported formats (SNDRV_PCM_FMTBIT_) */ | 758 | u64 formats; /* supported formats (SNDRV_PCM_FMTBIT_) */ |
759 | unsigned int maxbps; /* supported max. bit per sample */ | 759 | unsigned int maxbps; /* supported max. bit per sample */ |
760 | const struct snd_pcm_chmap_elem *chmap; /* chmap to override */ | ||
760 | struct hda_pcm_ops ops; | 761 | struct hda_pcm_ops ops; |
761 | }; | 762 | }; |
762 | 763 | ||
@@ -836,6 +837,7 @@ struct hda_codec { | |||
836 | struct mutex hash_mutex; | 837 | struct mutex hash_mutex; |
837 | struct snd_array spdif_out; | 838 | struct snd_array spdif_out; |
838 | unsigned int spdif_in_enable; /* SPDIF input enable? */ | 839 | unsigned int spdif_in_enable; /* SPDIF input enable? */ |
840 | int primary_dig_out_type; /* primary digital out PCM type */ | ||
839 | const hda_nid_t *slave_dig_outs; /* optional digital out slave widgets */ | 841 | const hda_nid_t *slave_dig_outs; /* optional digital out slave widgets */ |
840 | struct snd_array init_pins; /* initial (BIOS) pin configurations */ | 842 | struct snd_array init_pins; /* initial (BIOS) pin configurations */ |
841 | struct snd_array driver_pins; /* pin configs set by codec parser */ | 843 | struct snd_array driver_pins; /* pin configs set by codec parser */ |
@@ -885,6 +887,8 @@ struct hda_codec { | |||
885 | 887 | ||
886 | /* jack detection */ | 888 | /* jack detection */ |
887 | struct snd_array jacktbl; | 889 | struct snd_array jacktbl; |
890 | unsigned long jackpoll_interval; /* In jiffies. Zero means no poll, rely on unsol events */ | ||
891 | struct delayed_work jackpoll_work; | ||
888 | 892 | ||
889 | #ifdef CONFIG_SND_HDA_INPUT_JACK | 893 | #ifdef CONFIG_SND_HDA_INPUT_JACK |
890 | /* jack detection */ | 894 | /* jack detection */ |
@@ -1024,6 +1028,8 @@ unsigned int snd_hda_calc_stream_format(unsigned int rate, | |||
1024 | int snd_hda_is_supported_format(struct hda_codec *codec, hda_nid_t nid, | 1028 | int snd_hda_is_supported_format(struct hda_codec *codec, hda_nid_t nid, |
1025 | unsigned int format); | 1029 | unsigned int format); |
1026 | 1030 | ||
1031 | extern const struct snd_pcm_chmap_elem snd_pcm_2_1_chmaps[]; | ||
1032 | |||
1027 | /* | 1033 | /* |
1028 | * Misc | 1034 | * Misc |
1029 | */ | 1035 | */ |