aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-01-20 09:00:26 -0500
committerTakashi Iwai <tiwai@suse.de>2016-01-20 09:00:26 -0500
commitbed2e98e1f4db8b827df507abc30be7b11b0613d (patch)
tree8d02729367907aed033e7a48d01f2418e22a51f6 /sound
parent3568459a51136f418ca8cad48a0db3803010148a (diff)
ALSA: hda - Degrade i915 binding failure message
Currently HD-audio driver on Intel Skylake or Broxteon gives an error message when binding with i915 audio component fails. However, this isn't any serious error on a system without Intel graphics. Indeed there are such systems, where a third-party codec (e.g. Creative) is put on the mobo while using other discrete GPU (e.g. Nvidia). Printing a kernel "error" message is overreaction in such a case. This patch downgrades the print level for that message. For systems that mandate the i915 binding (e.g. Haswell or Broadwell HDMI/DP), another kernel error message is shown in addition to make clear what went wrong. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=111021 Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/hda/hdac_i915.c2
-rw-r--r--sound/pci/hda/hda_intel.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/sound/hda/hdac_i915.c b/sound/hda/hdac_i915.c
index c50177fb469f..f6854dbd7d8d 100644
--- a/sound/hda/hdac_i915.c
+++ b/sound/hda/hdac_i915.c
@@ -306,7 +306,7 @@ out_master_del:
306out_err: 306out_err:
307 kfree(acomp); 307 kfree(acomp);
308 bus->audio_component = NULL; 308 bus->audio_component = NULL;
309 dev_err(dev, "failed to add i915 component master (%d)\n", ret); 309 dev_info(dev, "failed to add i915 component master (%d)\n", ret);
310 310
311 return ret; 311 return ret;
312} 312}
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index c0bef11afa7e..86bbc6307c4f 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2078,9 +2078,11 @@ static int azx_probe_continue(struct azx *chip)
2078 * for other chips, still continue probing as other 2078 * for other chips, still continue probing as other
2079 * codecs can be on the same link. 2079 * codecs can be on the same link.
2080 */ 2080 */
2081 if (CONTROLLER_IN_GPU(pci)) 2081 if (CONTROLLER_IN_GPU(pci)) {
2082 dev_err(chip->card->dev,
2083 "HSW/BDW HD-audio HDMI/DP requires binding with gfx driver\n");
2082 goto out_free; 2084 goto out_free;
2083 else 2085 } else
2084 goto skip_i915; 2086 goto skip_i915;
2085 } 2087 }
2086 2088