]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Fix pin-detection of Nvidia HDMI
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Jul 2010 12:21:55 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:24 +0000 (10:30 -0700)
commit14393bddb10f109790dbeaa747679738445ebf09
treedd6d5d5c35fb98a5bccc0a3599ebef03655a1c6a
parent3fd02a351fc8aa8602fe2b39d6a098ea2538db2e
ALSA: hda - Fix pin-detection of Nvidia HDMI

commit 38faddb1afdd37218c196ac3db1cb5fbe7fc9c75 upstream.

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: Wei Ni <wni@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_hdmi.c
sound/pci/hda/patch_nvhdmi.c