]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jul 2010 12:26:14 +0000 (14:26 +0200)
commitb49939617303164dfb529b36e386b0283517c85b
tree4591e3444acb5cd408dbc55d77209e136e47fb67
parent33676577a381460c11e8f2a84697bb57fbb2c617
ALSA: hda - Fix pin-detection of Nvidia HDMI

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>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c
sound/pci/hda/patch_nvhdmi.c