• Takashi Iwai's avatar
    ALSA: hda - Fix pin-detection of Nvidia HDMI · 38faddb1
    Takashi Iwai authored
    The behavior of Nvidia HDMI codec regarding the pin-detection unsol events
    is based on the old HD-audio spec, i.e. PD bit indicates only the update
    and doesn't show the current state.  Since the current code assumes the
    new behavior, the pin-detection doesn't work relialby with these h/w.
    
    This patch adds a flag for indicating the old spec, and fixes the issue
    by checking the pin-detection explicitly for such hardware.
    Tested-by: default avatarWei Ni <wni@nvidia.com>
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    38faddb1
patch_nvhdmi.c 15.5 KB