linux_dsm_epyc7002/sound/pci/hda
Anssi Hannula c9a6338aec ALSA: hda - hdmi: Fix IEC958 ctl indexes for some simple HDMI devices
In case a single HDA card has both HDMI and S/PDIF outputs, the S/PDIF
outputs will have their IEC958 controls created starting from index 16
and the HDMI controls will be created starting from index 0.

However, HDMI simple_playback_build_controls() as used by old VIA and
NVIDIA codecs incorrectly requests the IEC958 controls to be created
with an S/PDIF type instead of HDMI.
In case the card has other codecs that have HDMI outputs, the controls
will be created with wrong index=16, causing them to e.g. be unreachable
by the ALSA "hdmi" alias.

Fix that by making simple_playback_build_controls() request controls
with HDMI indexes.

Not many cards have an affected configuration, but e.g. ASUS M3N78-VM
contains an integrated NVIDIA HDA "card" with:
- a VIA codec that has, among others, an S/PDIF pin incorrectly
  labelled as an HDMI pin, and
- an NVIDIA MCP7x HDMI codec.

Reported-by: MysterX on #openelec
Tested-by: MysterX on #openelec
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Cc: <stable@vger.kernel.org> # 3.8+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-12-11 07:12:07 +01:00
..
ca0132_regs.h
hda_auto_parser.c ALSA: hda - Fix possible NULL dereference in snd_hda_get_pin_label() 2013-10-29 11:37:19 +01:00
hda_auto_parser.h
hda_beep.c ALSA: hda - Add a fallthru comment 2013-10-29 11:37:23 +01:00
hda_beep.h
hda_codec.c ALSA: hda - Fix unbalanced runtime PM notification at resume 2013-11-20 16:39:14 +01:00
hda_codec.h ALSA: hda - Drop bus->avoid_link_reset flag 2013-11-26 13:40:14 +01:00
hda_eld.c ALSA: hda - hdmi: Fix wrong baseline length in ATI/AMD generated ELD 2013-11-11 17:08:39 +01:00
hda_generic.c ALSA: hda - Mute all aamix inputs as default 2013-12-10 21:16:50 +01:00
hda_generic.h ALSA: hda - Introduce the bitmask for excluding output volume 2013-11-05 07:49:41 +01:00
hda_hwdep.c
hda_i915.c
hda_i915.h
hda_intel_trace.h
hda_intel.c ALSA: hda - Fix complete_all() timing in deferred probes 2013-12-02 13:23:40 +01:00
hda_jack.c ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_jack.h ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_local.h ALSA: hda - hdmi: Add ELD emulation for ATI/AMD codecs 2013-10-24 22:54:13 +02:00
hda_proc.c
hda_trace.h
Kconfig ALSA: hda - Select FW_LOADER from CONFIG_SND_HDA_CODEC_CA0132_DSP 2013-11-18 17:12:34 +01:00
Makefile
patch_analog.c ALSA: hda - Use always amps for auto-mute on AD1986A codec 2013-12-02 15:40:14 +01:00
patch_ca0110.c
patch_ca0132.c ALSA: hda/ca0132: Staticize codec_send_command 2013-09-13 14:36:32 +02:00
patch_cirrus.c ALSA: hda - Control SPDIF out pin on MacBookPro 11,2 2013-11-11 16:22:04 +01:00
patch_cmedia.c
patch_conexant.c ALSA: hda - Remove quirk for Dell Vostro 131 2013-12-06 08:52:40 +01:00
patch_hdmi.c ALSA: hda - hdmi: Fix IEC958 ctl indexes for some simple HDMI devices 2013-12-11 07:12:07 +01:00
patch_realtek.c ALSA: hda - Another Dell headset detection quirk 2013-12-10 09:02:58 +01:00
patch_si3054.c
patch_sigmatel.c ALSA: hda - Drop bus->avoid_link_reset flag 2013-11-26 13:40:14 +01:00
patch_via.c