]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Less grumbling about lack of i915 binding
authorTakashi Iwai <tiwai@suse.de>
Wed, 9 Dec 2015 06:13:48 +0000 (07:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Dec 2015 06:29:52 +0000 (07:29 +0100)
commit671546d305dd4f132dc52e7950edf6a50ed29154
treef1fcebfb87223f1774e24980575d36b0acb556da
parent3ebb9cf86dccdd02eddb789d83bc13b793b6dcee
ALSA: hda - Less grumbling about lack of i915 binding

The recent commit [07bb1d2a88d3: ALSA: hda - Enable audio component
for old Intel PCH devices] enabled the i915 binding for HDMI/DP on old
Intel PCHs.  But many boards are without HDMI/DP, and they actually
don't need i915 binding, and yet the driver has a check of i915
binding and complains like
Haswell must be built with CONFIG_SND_HDA_I915
This error is false-positive, and it should be put only for HSW/BDW,
instead of all devices that may be bound with i915.

This patch fixes the condition to check, as well as rephrasing the
message specific to HSW/BDW HDMI/DP.

Fixes: 07bb1d2a88d3 ('ALSA: hda - Enable audio component for old Intel PCH devices')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c