ALSA: hda - Abort the probe without i915 binding for HSW/BDW
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 Jun 2015 05:53:58 +0000 (07:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 Jun 2015 06:05:02 +0000 (08:05 +0200)
commit535115b5ff51c702a9a22feb918707c2fe1fbd17
treeb77e658e7c8b00e49eb7113313f6b0deb905dc24
parenta686ec4c5f28eb1b384e4b87b08543155c970072
ALSA: hda - Abort the probe without i915 binding for HSW/BDW

The previous patch tried to continue the probe if i915 binding fails.
For for simplicity reason, we haven't implemented abort even for
controller chips that are dedicated for HDMI/DP on HSW and BDW.
However, Mengdong suggested that this can be dangerous; BIOS may
disable gfx power well although the PCI entry for HD-audio is left,
and this may result in the unexpected behavior, kernel errors, etc.

For avoiding this situation, abort the probe at i915 binding failure
only for HSW/BDW chips selectively.  For other chips, it still
continues.

Fixes: bf06848bdbe5 ('ALSA: hda - Continue probing even if i915 binding fails')
Reported-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c