android_kernel_xiaomi_sdm845/sound/pci/hda
Wu Fengguang 5f1e71b1cc ALSA: ELD proc interface for HDMI sinks
Create /proc/asound/card<card_no>/eld#<codec_no> to reflect the audio
configurations and capabilities of the attached HDMI sink.

Some notes:

- Shall we show an empty file if the ELD content is not valid?
  Well it's not that simple. There could be partially populated ELD,
  and there may be malformed ELD provided by buggy drivers/monitors.
  So expose ELD as it is.

- The ELD retrieval routines rely on the Intel HDA interface,
  others are/could be universal and independent ones.

- How do we name the proc file?
  If there are going to be two HDMI pins per codec, then the current naming
  scheme (eld#<codec no>) will fail. Luckily the user space dependencies should
  be minimal, so it would be trivial to do the rename if that happens.

- The ELD proc file content is designed to be easy for scripts and human reading.
  Its lines all have the pattern:
	  <item_name>\t[\t]*<item_value>
  where <item_name> is a keyword in c language, while <item_value> could be any
  contents, including white spaces. <item_value> could also be a null value.

Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-11-18 07:39:12 +01:00
..
hda_beep.c ALSA: hda - Missing NULL check in hda_beep.c 2008-11-13 14:37:16 +01:00
hda_beep.h ALSA: hda - Add digital beep playback switch for STAC/IDT codecs 2008-11-13 14:37:14 +01:00
hda_codec.c ALSA: hda - Fix another cache list management 2008-11-10 16:24:26 +01:00
hda_codec.h ALSA: hda - Fix another cache list management 2008-11-10 16:24:26 +01:00
hda_eld.c ALSA: ELD proc interface for HDMI sinks 2008-11-18 07:39:12 +01:00
hda_generic.c ALSA: hda - Manage kcontrol lists 2008-10-13 02:43:01 +02:00
hda_hwdep.c ALSA: hda - Add hints for reconfig 2008-10-13 02:43:04 +02:00
hda_intel.c ALSA: hda - support detecting HD Audio devices with PCI class code 2008-11-13 11:07:07 +01:00
hda_local.h ALSA: ELD proc interface for HDMI sinks 2008-11-18 07:39:12 +01:00
hda_patch.h ALSA: hda - Intel HDMI audio support 2008-11-05 07:54:03 +01:00
hda_proc.c ALSA: introduce snd_print_pcm_rates() 2008-11-18 07:38:51 +01:00
Makefile ALSA: create hda_eld.c for ELD routines and proc interface 2008-11-18 07:39:03 +01:00
patch_analog.c Merge branch 'topic/fix/hda' into topic/hda 2008-11-12 10:02:04 +01:00
patch_atihdmi.c ALSA: handle SiI1392 HDMI codec in patch_intelhdmi.c 2008-11-13 07:55:40 +01:00
patch_cmedia.c [ALSA] hda - Fix model for LG LS75 laptop 2008-05-30 16:56:00 +02:00
patch_conexant.c ALSA: hda - Use generic array helpers 2008-10-13 02:42:59 +02:00
patch_intelhdmi.c ALSA: ELD proc interface for HDMI sinks 2008-11-18 07:39:12 +01:00
patch_nvhdmi.c ALSA: hda - Fix PCM type of Nvidia HDMI devices 2008-10-16 08:02:41 +02:00
patch_realtek.c ALSA: hda: alc883 model for ASUS P5Q-EM boards 2008-11-17 09:51:09 +01:00
patch_si3054.c [ALSA] sound: hda: missing includes of hda_patch.h 2008-04-24 12:00:19 +02:00
patch_sigmatel.c ALSA: hda: STAC_DELL_M6 EAPD 2008-11-17 09:56:35 +01:00
patch_via.c ALSA: hda: remove redundant get_amp_nid() 2008-11-18 07:38:28 +01:00