ALSA: hda - introduce snd_hda_jack_detect() and snd_hda_pin_sense()
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 18 Nov 2009 04:38:02 +0000 (12:38 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 18 Nov 2009 06:40:57 +0000 (07:40 +0100)
commit864f92be7e8d4a0ba11d912e3f03d1a92a031dee
tree95de58c8f304024b99da8707df77264f644d14b4
parent23ccc2bd246a5bdb1ac03dc9040a0585c1890ef3
ALSA: hda - introduce snd_hda_jack_detect() and snd_hda_pin_sense()

This helps merge duplicate code.

v2: add snd_hda_jack_detect() and comments recommended by Takashi.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_eld.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_realtek.c