linux-stable/sound/pci
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
..
ac97 sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
ali5451 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
asihpi sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
au88x0 sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
aw2 sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
ca0106 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
cs46xx sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
cs5535audio sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
ctxfi sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
echoaudio sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
emu10k1 sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
ice1712 sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
korg1212 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
lola sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
lx6464es atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
mixart sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
nm256 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
oxygen sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
pcxhr sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
riptide sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
rme9652 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
trident sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
vx222 sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
ymfpci sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
ad1889.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
ad1889.h
ak4531_codec.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
als300.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
als4000.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
atiixp.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
atiixp_modem.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
azt3328.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
azt3328.h ALSA: azt3328: fix previous breakage, improve suspend, cleanups 2009-07-15 12:03:26 +02:00
bt87x.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
cmipci.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
cs4281.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
cs5530.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
ens1370.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
ens1371.c
es1938.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
es1968.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
fm801.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
intel8x0.c ALSA: intel8x0: improve virtual environment detection 2011-11-09 18:34:28 +01:00
intel8x0m.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
Kconfig ALSA: Fix dependency of CONFIG_SND_TEA575X 2011-08-07 17:54:17 +02:00
maestro3.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
Makefile ALSA: Add the driver for Digigram Lola PCI-e boards 2011-05-03 16:31:05 +02:00
rme32.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
rme96.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
sis7019.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
sis7019.h trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
sonicvibes.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
via82xx.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00
via82xx_modem.c sound: fix drivers needing module.h not moduleparam.h 2011-10-31 19:31:19 -04:00