]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: hda - HDMI Audio init all connectors when VGA-switcheroo is off
authorSteven Newbury <steve@snewbury.org.uk>
Fri, 8 Jun 2012 11:06:29 +0000 (13:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Jun 2012 11:07:41 +0000 (13:07 +0200)
commit8393ec4a13889339bacfb8b038fb13716eef7a2b
tree6d19fa6f0dcea3661b10eb401c6760c5885a87e9
parent505cff00de9c303b95c204eb4544066e3e707911
ALSA: hda - HDMI Audio init all connectors when VGA-switcheroo is off

When VGA_SWITCHEROO support is enabled hda_intel initialises the HDMI
audio device on the current VGA device.  When it's not enabled it only
initialises the HDMI device on the default VGA adaptor, this means
secondary cards get no audio support which is very unhelpful for
multi-seat!

With this patch, when SUPPORT_VGA_SWITCHEROO is disabled hda_intel
initialises all HDMI audio devices, not just the default VGA.

[minor optimizations by tiwai]

Signed-off-by: Steven Newbury <steve@snewbury.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c