]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Check NO_PRESENCE pincfg default bit
authorTakashi Iwai <tiwai@suse.de>
Wed, 2 Nov 2011 06:44:11 +0000 (07:44 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 Nov 2011 06:46:19 +0000 (07:46 +0100)
commit7b1671d0d2c10f4bb5550447782f251eae2ea539
tree852cdc1f4094910bbd8c688e383efa8a95b05899
parentbf44f77f565c788cf9b826817da4ccf1c18fb003
ALSA: hda - Check NO_PRESENCE pincfg default bit

HD-audio spec defines a bit in pin default configuration for indicating
that the pin isn't used for jack-detection although the codec is capable
of it.  Better to check this bit as well in jack_is_detectable() helper
function.

Reported-by: Raymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_local.h