]> git.baikalelectronics.ru Git - 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)
commitf8425df51146d34088baf3dbf6aa50e204f13726
tree6d19fa6f0dcea3661b10eb401c6760c5885a87e9
parent883c20559cd89900127a34ef13dabe0a2051b268
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