ALSA: hda/hdmi - Clean up Intel platform-specific fixup checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 11 Nov 2019 19:09:37 +0000 (20:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Nov 2019 17:02:14 +0000 (18:02 +0100)
commitcb45722b289b54476b68883985c2824c69a7fba9
tree0964f8bec594a4d3db5eec9371da90f44ce351e1
parentb12b2259bc4c1e0b34d4adb5c0e41b23761a5c08
ALSA: hda/hdmi - Clean up Intel platform-specific fixup checks

Introduce a new flag in hdmi_spec to indicate the Intel platform-
specific fixups so that we can get rid of the lengthy codec ID
checks.  The flag is set in intel_hsw_common_init() commonly.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20191111190937.19186-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c