• Takashi Iwai's avatar
    ALSA: hda - Introduce pin_cvt_fixup() ops to hdmi parser · 4846a67e
    Takashi Iwai authored
    For reducing the splat of is_haswell_plus() or such macros, this patch
    introduces pin_cvt_fixup() ops to hdmi_spec.  For HSW+ and VLV+
    codecs, set this ops so that the driver can call the Intel-specific
    workarounds appropriately.
    
    A gratis bonus that we can remove the mux_id argument from
    hdmi_choose_cvt(), too, since the fixup function always refers the
    mux_idx from the given per_pin object.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    4846a67e
patch_hdmi.c 96 KB