OSDN Git Service

ALSA: hda/hdmi - Don't fall back to generic when i915 binding fails
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Jun 2018 07:54:46 +0000 (09:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 28 Jun 2018 11:36:54 +0000 (13:36 +0200)
commitfdd49c510021d389bf5979282193e084f328e031
tree7fadc07e38d39fd8acb53faaa5c862550bceee98
parent1adca4b0cd65c14cb8b8c9c257720385869c3d5f
ALSA: hda/hdmi - Don't fall back to generic when i915 binding fails

When i915 component binding fails, it means that HDMI isn't applicable
anyway.  Although the probe with the generic HDMI parser would still
work, it's essentially useless, hence better to be left unbound.

This patch mimics the probe_id field at failing the i915 component
binding so that the generic HDMI won't be bound after that.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.h
sound/pci/hda/patch_hdmi.c