• Takashi Iwai's avatar
    ALSA: hda - Don't handle ELD notify from invalid port · 4f8e4f35
    Takashi Iwai authored
    The current Intel HDMI codec driver supports only three fixed ports
    from port B to port D.  However, i915 driver may assign a DP on other
    ports, e.g. port A, when no eDP is used.  This incompatibility is
    caught later at pin_nid_to_pin_index() and results in a warning
    message like "HDMI: pin nid 4 not registered" at each time.
    
    This patch filters out such invalid events beforehand, so that the
    kernel won't be too grumbling.
    Reported-by: default avatarStefan Assmann <sassmann@kpanic.de>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    4f8e4f35
patch_hdmi.c 102 KB