kernel-ark/sound/pci/hda
Takashi Iwai 1835a0f9a2 ALSA: hda - Cache the jack-detection value
Introduce a table containing the pins and their jack-detection states
for avoiding the unnecessary verbs to check the pin status at each time.

When the unsol event is enabled via snd_hda_jack_detect_enable(), it
automatically adds the given NID to the table.  Then the driver supposes
that the codec driver will set the dirty flag appropariately when an
unsolicited event is invoked for that pin.

The behavior for reading other pins that aren't registered in the table
doesn't change.  Only the pins assigned to the table are cached, so far.

In near futre, this table can be extended to use the central place for
the unsolicited events of all pins, etc, and eventually include the
jack-detect kcontrols that replace the current input-jack stuff.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-11-16 11:11:15 +01:00
..
alc260_quirks.c
alc880_quirks.c ALSA: hda/realtek - Move ALC880 model=lg-lw to auto-parser 2011-11-15 14:46:25 +01:00
alc882_quirks.c ALSA: hda/realtek - Move ALC885 macpro and imac24 models to auto-parser 2011-11-14 17:43:17 +01:00
alc_quirks.c
hda_beep.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_beep.h
hda_codec.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
hda_codec.h ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
hda_eld.c ALSA: hda - move eld->spk_alloc fixup to hdmi_update_eld() 2011-11-16 10:44:58 +01:00
hda_generic.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_hwdep.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
hda_intel.c ALSA: hda - Fix a regression for DMA-position check with CA0110 2011-11-06 13:49:13 +01:00
hda_jack.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
hda_jack.h ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
hda_local.h ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
hda_proc.c ALSA: hda - Moved snd_print_pcm_rates() back into hda_proc.c 2011-10-06 08:21:15 +02:00
hda_trace.h
Kconfig
Makefile ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
patch_analog.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
patch_ca0110.c ALSA: hda - Introduce snd_hda_get_pin_label() 2011-11-16 11:10:16 +01:00
patch_ca0132.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_cirrus.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
patch_cmedia.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_conexant.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
patch_hdmi.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
patch_realtek.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
patch_via.c ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00