diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-06-27 09:54:46 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-28 13:36:54 +0200 |
commit | fdd49c510021d389bf5979282193e084f328e031 (patch) | |
tree | 7fadc07e38d39fd8acb53faaa5c862550bceee98 /sound/pci/hda/hda_codec.h | |
parent | ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge (diff) | |
download | linux-fdd49c510021d389bf5979282193e084f328e031.tar.xz linux-fdd49c510021d389bf5979282193e084f328e031.zip |
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>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 8a095c16ee65..993294c8fd0a 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -84,6 +84,7 @@ struct hda_bus { */ typedef int (*hda_codec_patch_t)(struct hda_codec *); +#define HDA_CODEC_ID_SKIP_PROBE 0x00000001 #define HDA_CODEC_ID_GENERIC_HDMI 0x00000101 #define HDA_CODEC_ID_GENERIC 0x00000201 |