alistair23-linux/sound/pci/hda
Stephen Warren c3d5210575 ALSA: hda: Gate ELD usage only by whether ELD is valid
It's perfectly valid for an ELD to contain no SADs. This simply means that
only basic audio is supoprted.

In this case, we still want to limit a PCM's capabilities based on the ELD.

History:

* Originally, ELD application was limited solely by sad_count>0, which
  was used to check that an ELD had been read.
* Later, eld_valid was added to the conditions to satisfy.

This change removes the original sad_count>0 check, which when squashed
with the above two changes ends up replacing if (sad_count) with
if (eld_valid).

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-06-06 12:48:45 +02:00
..
hda_beep.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hda_beep.h ALSA: hda - Fix beep_mode option value 2009-11-16 15:33:49 +01:00
hda_codec.c ALSA: hda - Use snd_printd() in snd_hda_parse_pin_def_config() 2011-05-26 14:10:44 +02:00
hda_codec.h ALSA: hda - Constify some API function arguments 2011-05-02 12:07:48 +02:00
hda_eld.c ALSA: HDA: Unify HDMI hotplug handling. 2011-05-25 07:31:32 +02:00
hda_generic.c ALSA: hda - consitify string arrays 2011-01-18 07:43:17 +01:00
hda_hwdep.c ALSA: hda - Ensure codec patch files are checked for the correct codec ID 2010-07-26 10:28:01 +02:00
hda_intel.c ALSA: fix hda AZX_DCAPS_NO_TCSEL quirk check in driver_caps 2011-05-27 19:45:28 -07:00
hda_local.h ALSA: hda - Check unsol-cap in is_jack_detectalbe() 2011-05-17 12:33:27 +02:00
hda_proc.c ALSA: hda - consitify string arrays 2011-01-18 07:43:17 +01:00
Kconfig ALSA: hda - Merge all HDMI modules into the unified module 2010-09-20 10:02:29 +02:00
Makefile ALSA: hda - Merge all HDMI modules into the unified module 2010-09-20 10:02:29 +02:00
patch_analog.c ALSA: hda - Check pin support EAPD in ad198x_power_eapd_write 2011-06-03 10:08:46 +02:00
patch_ca0110.c ALSA: hda - Constify fixup and other array data in patch_ca0110.c 2011-05-02 12:20:29 +02:00
patch_cirrus.c ALSA: hda - Check unsol-cap in is_jack_detectalbe() 2011-05-17 12:33:27 +02:00
patch_cmedia.c ALSA: hda - Constify fixup and other array data in patch_cmedia.c 2011-05-02 12:20:28 +02:00
patch_conexant.c ALSA: hda - Use model=auto for Lenovo G555 2011-05-25 07:33:20 +02:00
patch_hdmi.c ALSA: hda: Gate ELD usage only by whether ELD is valid 2011-06-06 12:48:45 +02:00
patch_realtek.c ALSA: hda - Remove PCM mixer elements from Virtual Master of realtek 2011-05-20 09:03:20 +02:00
patch_si3054.c ALSA: hda - Constify fixup and other array data in patch_si3054.c 2011-05-02 12:22:39 +02:00
patch_sigmatel.c ALSA: hda - Handle dock line-in as auto-detectable for IDT codecs 2011-05-17 12:35:03 +02:00
patch_via.c ALSA: hda - Constify fixup and other array data in patch_via.c 2011-05-02 12:38:19 +02:00