diff options
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 2e7493ef8ee0..d398b648bb5d 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -428,6 +428,7 @@ enum { | |||
428 | HDA_FIXUP_ACT_PROBE, | 428 | HDA_FIXUP_ACT_PROBE, |
429 | HDA_FIXUP_ACT_INIT, | 429 | HDA_FIXUP_ACT_INIT, |
430 | HDA_FIXUP_ACT_BUILD, | 430 | HDA_FIXUP_ACT_BUILD, |
431 | HDA_FIXUP_ACT_FREE, | ||
431 | }; | 432 | }; |
432 | 433 | ||
433 | int snd_hda_add_verbs(struct hda_codec *codec, const struct hda_verb *list); | 434 | int snd_hda_add_verbs(struct hda_codec *codec, const struct hda_verb *list); |
@@ -751,10 +752,6 @@ struct hdmi_eld { | |||
751 | int eld_size; | 752 | int eld_size; |
752 | char eld_buffer[ELD_MAX_SIZE]; | 753 | char eld_buffer[ELD_MAX_SIZE]; |
753 | struct parsed_hdmi_eld info; | 754 | struct parsed_hdmi_eld info; |
754 | struct mutex lock; | ||
755 | #ifdef CONFIG_PROC_FS | ||
756 | struct snd_info_entry *proc_entry; | ||
757 | #endif | ||
758 | }; | 755 | }; |
759 | 756 | ||
760 | int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid); | 757 | int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid); |
@@ -766,21 +763,15 @@ void snd_hdmi_show_eld(struct parsed_hdmi_eld *e); | |||
766 | void snd_hdmi_eld_update_pcm_info(struct parsed_hdmi_eld *e, | 763 | void snd_hdmi_eld_update_pcm_info(struct parsed_hdmi_eld *e, |
767 | struct hda_pcm_stream *hinfo); | 764 | struct hda_pcm_stream *hinfo); |
768 | 765 | ||
766 | int snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid, | ||
767 | unsigned char *buf, int *eld_size, | ||
768 | bool rev3_or_later); | ||
769 | |||
769 | #ifdef CONFIG_PROC_FS | 770 | #ifdef CONFIG_PROC_FS |
770 | int snd_hda_eld_proc_new(struct hda_codec *codec, struct hdmi_eld *eld, | 771 | void snd_hdmi_print_eld_info(struct hdmi_eld *eld, |
771 | int index); | 772 | struct snd_info_buffer *buffer); |
772 | void snd_hda_eld_proc_free(struct hda_codec *codec, struct hdmi_eld *eld); | 773 | void snd_hdmi_write_eld_info(struct hdmi_eld *eld, |
773 | #else | 774 | struct snd_info_buffer *buffer); |
774 | static inline int snd_hda_eld_proc_new(struct hda_codec *codec, | ||
775 | struct hdmi_eld *eld, | ||
776 | int index) | ||
777 | { | ||
778 | return 0; | ||
779 | } | ||
780 | static inline void snd_hda_eld_proc_free(struct hda_codec *codec, | ||
781 | struct hdmi_eld *eld) | ||
782 | { | ||
783 | } | ||
784 | #endif | 775 | #endif |
785 | 776 | ||
786 | #define SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE 80 | 777 | #define SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE 80 |