linux/sound/pci/hda
Takashi Iwai 0ebaa24c6b ALSA: hda - Add static_hdmi_pcm option to HDMI codec parser
The dynamic PCM restriction based on ELD information may lead to the
problem in some cases, e.g. when the receiver is turned off.  Then it
may send a TV HDMI default such as channels = 2.  Since it's still
plugged, the driver doesn't know whether it's the right configuration
for future use.  Now, when an app opens the device at this moment,
then turn on the receiver, the app still sends channels=2.

The right solution is to implement some kind of notification and
automatic re-open mechanism.  But, this is a goal far ahead.

This patch provides a workaround for such a case by providing a new
module option static_hdmi_pcm for snd-hda-codec-hdmi module.  When
this is set to true, the driver doesn't change PCM parameters per
ELD information.  For users who need the static configuration like
the scenario above, set this to true.

The parameter can be changed dynamically via sysfs, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
2011-01-12 07:46:06 +01: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 - Fix multi-headphone handling for Realtek codecs 2011-01-10 14:51:32 +01:00
hda_codec.h ALSA: hda - Disable sticky PCM stream assignment for AD codecs 2010-10-25 10:39:23 +02:00
hda_eld.c ALSA: hda - Reset sample sizes and max bitrates when reading ELD 2010-12-08 08:36:20 +01:00
hda_generic.c ALSA: hda - Improve the input source name labels 2010-09-09 16:46:03 +02: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: hda: Use LPIB quirk for Dell Inspiron m101z/1120 2010-12-30 13:26:19 +01:00
hda_local.h ALSA: HDA: Sigmatel: work around incorrect master muting 2010-10-17 10:45:30 +02:00
hda_proc.c ALSA: hda-intel - do not mix audio and modem function IDs 2010-07-19 16:46:56 +02: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: Rename "Mic Boost" to "Mic Boost Volume" 2011-01-10 10:53:34 +01:00
patch_ca0110.c ALSA: hda - Fix wrong SPDIF NID assignment for CA0110 2010-10-21 08:55:13 +02:00
patch_cirrus.c ALSA: hda - MacBookAir3,1(3,2) alsa support 2010-11-03 08:15:40 +01:00
patch_cmedia.c ALSA: hda - Fix NID association for capture mixers 2009-12-23 08:38:28 +01:00
patch_conexant.c ALSA: hda: Use vostro model quirk for Dell Vostro 1014 2011-01-10 11:11:52 +01:00
patch_hdmi.c ALSA: hda - Add static_hdmi_pcm option to HDMI codec parser 2011-01-12 07:46:06 +01:00
patch_realtek.c ALSA: hda - Add support for multiple headphone/speaker controls for Realtek 2011-01-10 15:45:23 +01:00
patch_si3054.c ALSA: hda - add more NID->Control mapping 2009-12-15 09:33:04 +01:00
patch_sigmatel.c ALSA: HDA: Add internal mic for IDT 92HD88B 2011-01-10 10:49:26 +01:00
patch_via.c ALSA: hda - Improve the input source name labels 2010-09-09 16:46:03 +02:00