ALSA: hda - Allow jack detection when polling is enabled
authorTakashi Iwai <tiwai@suse.de>
Mon, 7 Jan 2013 11:11:33 +0000 (12:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:43:54 +0000 (08:43 +0100)
commit76a19c69d9c971d652e263799536412ec7f8dcf3
treec6d10816721da62555e023cfd0814449002bf62c
parente6b85f3c9d5ea3807dee651c28d5b0d5982ae2fa
ALSA: hda - Allow jack detection when polling is enabled

Let is_jack_detectable() return true when the jack polling is enabled
for the codec.  VT1708 uses the polling explicitly so we need to allow
it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_jack.c