kernel_optimize_test/include
Mark Brown e76d8ceaaf ALSA: Add jack reporting API
Currently very few systems provide information about jack status to user
space, even though many have hardware facilities to do detection. Those
systems that do use an input device with the existing SW_HEADPHONE_INSERT
switch type to do so, often independently of ALSA.

This patch introduces a standard method for representing jacks to user
space into ALSA. It allows drivers to register jacks for a sound card with
the input subsystem, binding the input device to the card to help user
space associate the input devices with their sound cards. The created
input devices are named in the form "card longname jack" where jack is
provided by the driver when allocating a jack. By default the parent for
the input device is the sound card but this can be overridden by the
card driver.

The existing user space API with SW_HEADPHONE_INSERT is preserved.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-07-29 21:32:03 +02:00
..
acpi
asm-arm
asm-cris
asm-frv
asm-generic
asm-m32r
asm-m68k
asm-mips [MIPS] IP27: Fix build errors if CONFIG_MAPPED_KERNEL=y 2008-10-06 01:22:29 +01:00
asm-mn10300
asm-parisc
asm-um
asm-x86 inotify: fix lock ordering wrt do_page_fault's mmap_sem 2008-10-02 15:53:13 -07:00
asm-xtensa
crypto
drm
keys
linux ide-cd: temporary tray close fix 2008-10-05 18:23:27 +02:00
math-emu
media
mtd
net sctp: Fix kernel panic while process protocol violation parameter 2008-09-30 05:32:24 -07:00
pcmcia
rdma
rxrpc
scsi
sound ALSA: Add jack reporting API 2008-07-29 21:32:03 +02:00
video
xen
Kbuild