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)
commit08a1f5eb435640741c7b7d10fb339425dff786bb
tree852cdc1f4094910bbd8c688e383efa8a95b05899
parent700cc5c94fad6c3f15bacb0d99d9c474aed13c82
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