summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_analog.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-04-26 12:13:25 +0200
committerTakashi Iwai <tiwai@suse.de>2012-05-14 14:49:17 +0200
commit9121947d696df7ea259c0102e449da9621b9cf92 (patch)
treed9924ab48c80ba91649c2e4bae8adc1b44ad11b2 /sound/pci/hda/patch_analog.c
parentd9bbb4756dbc05764cebd0e3e2f49a56c9504e4d (diff)
downloadop-kernel-dev-9121947d696df7ea259c0102e449da9621b9cf92.zip
op-kernel-dev-9121947d696df7ea259c0102e449da9621b9cf92.tar.gz
ALSA: hda - Check the dead HDMI audio controller by vga-switcheroo
When a discrete-GPU is disabled by the VGA switcheroo, the corresponding HD-audio controller for HDMI output is also disabled. Such a dead controller still appears in the PCI device list, but you can't access properly any longer (even calling pci_read_config_*() triggers Oops!) which leads the stall of the whole communication of the driver. This patch adds a check of graphics controller at the probe time to see whether it's disabled by vga-switcheroo. If disabled, skip the whole initialization of this controller. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43155 Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud